 
 		if project && project.tags
 			for tag in project.tags when tag.templates && tag.templates.length > 0
-			return project
+				return project
 
-		_id: project._id, noTemplate: true
+			_id: project._id, noTemplate: true
 
 Template.addWeekModal.onCreated ->
 

			$('#addWeekModal').modal('show')
			$('#addWeekModal').on 'hidden.bs.modal', ->
				wrs -> FlowRouter.setQueryParams addWeek: undefined

			$weekPicker = $('#datepicker-week')


					$(this).datepicker('clearDate').datepicker('setDates', weekDates)

					$weekPicker.data('updating', false)
			.datepicker('setDate', nextWeek)

Template.addWeekModal.events

