| 
				
			 | 
			
			
				@@ -95,7 +95,8 @@ 
			 | 
		
	
		
			
			| 
				95
			 | 
			
				95
			 | 
			
			
				         = t 'activities.participant.plural' 
			 | 
		
	
		
			
			| 
				96
			 | 
			
				96
			 | 
			
			
				         = render partial: "state_counts", locals: {counts: @counts} 
			 | 
		
	
		
			
			| 
				97
			 | 
			
				97
			 | 
			
			
				     .col-md-6 
			 | 
		
	
		
			
			| 
				98
			 | 
			
				
			 | 
			
			
				-      = select_tag(:subgroup_filter, options_for_select(@subgroup_ids), class: 'form-control subgroup-filter') 
			 | 
		
	
		
			
			| 
				
			 | 
			
				98
			 | 
			
			
				+      - if @activity.subgroups.any? 
			 | 
		
	
		
			
			| 
				
			 | 
			
				99
			 | 
			
			
				+        = select_tag(:subgroup_filter, options_for_select(@subgroup_ids), class: 'form-control subgroup-filter') 
			 | 
		
	
		
			
			| 
				99
			 | 
			
				100
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				100
			 | 
			
				101
			 | 
			
			
				   %table.table.table-bordered 
			 | 
		
	
		
			
			| 
				101
			 | 
			
				102
			 | 
			
			
				     - @participants.each do |p| 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -113,11 +114,12 @@ 
			 | 
		
	
		
			
			| 
				113
			 | 
			
				114
			 | 
			
			
				             = render partial: "activities/presence_buttons", locals: {activity: @activity, person: p.person, state: p.attending} 
			 | 
		
	
		
			
			| 
				114
			 | 
			
				115
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				115
			 | 
			
				116
			 | 
			
			
				 .hidden-sm.hidden-md.hidden-lg 
			 | 
		
	
		
			
			| 
				116
			 | 
			
				
			 | 
			
			
				-  .panel.panel-default 
			 | 
		
	
		
			
			| 
				117
			 | 
			
				
			 | 
			
			
				-    .panel-heading 
			 | 
		
	
		
			
			| 
				118
			 | 
			
				
			 | 
			
			
				-      = t 'activerecord.attrs.activities.subgroups' 
			 | 
		
	
		
			
			| 
				119
			 | 
			
				
			 | 
			
			
				-    .panel-body 
			 | 
		
	
		
			
			| 
				120
			 | 
			
				
			 | 
			
			
				-      = select_tag(:subgroup_filter, options_for_select(@subgroup_ids), class: 'form-control subgroup-filter') 
			 | 
		
	
		
			
			| 
				
			 | 
			
				117
			 | 
			
			
				+  - if @activity.subgroups.any? 
			 | 
		
	
		
			
			| 
				
			 | 
			
				118
			 | 
			
			
				+    .panel.panel-default 
			 | 
		
	
		
			
			| 
				
			 | 
			
				119
			 | 
			
			
				+      .panel-heading 
			 | 
		
	
		
			
			| 
				
			 | 
			
				120
			 | 
			
			
				+        = t 'activerecord.attrs.activities.subgroups' 
			 | 
		
	
		
			
			| 
				
			 | 
			
				121
			 | 
			
			
				+      .panel-body 
			 | 
		
	
		
			
			| 
				
			 | 
			
				122
			 | 
			
			
				+        = select_tag(:subgroup_filter, options_for_select(@subgroup_ids), class: 'form-control subgroup-filter') 
			 | 
		
	
		
			
			| 
				121
			 | 
			
				123
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				122
			 | 
			
				124
			 | 
			
			
				   .panel.panel-default.panel-success 
			 | 
		
	
		
			
			| 
				123
			 | 
			
				125
			 | 
			
			
				     .panel-heading 
			 |