| 
									
										
										
										
											2017-01-24 12:05:39 -05:00
										 |  |  | {% load form_helpers %} | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-07-29 12:51:23 -04:00
										 |  |  | <div class="panel panel-default"> | 
					
						
							|  |  |  |     <div class="panel-heading"> | 
					
						
							| 
									
										
										
										
											2016-08-01 13:29:45 -04:00
										 |  |  |         <span class="fa fa-search" aria-hidden="true"></span> | 
					
						
							| 
									
										
										
										
											2016-07-29 12:51:23 -04:00
										 |  |  |         <strong>Search</strong> | 
					
						
							|  |  |  |     </div> | 
					
						
							|  |  |  |     <div class="panel-body"> | 
					
						
							| 
									
										
										
										
											2017-01-24 12:05:39 -05:00
										 |  |  |         <form action="." method="get" class="form"> | 
					
						
							|  |  |  |                 {% for field in filter_form %} | 
					
						
							|  |  |  |                     <div class="form-group"> | 
					
						
							|  |  |  |                         {% if field.name == "q" %} | 
					
						
							|  |  |  |                             <div class="input-group"> | 
					
						
							|  |  |  |                                 <input type="text" name="q" class="form-control" placeholder="Search" {% if request.GET.q %}value="{{ request.GET.q }}" {% endif %}/> | 
					
						
							|  |  |  |                                 <span class="input-group-btn"> | 
					
						
							|  |  |  |                                     <button type="submit" class="btn btn-primary"> | 
					
						
							|  |  |  |                                         <span class="fa fa-search" aria-hidden="true"></span> | 
					
						
							|  |  |  |                                     </button> | 
					
						
							|  |  |  |                                 </span> | 
					
						
							|  |  |  |                             </div> | 
					
						
							|  |  |  |                         {% elif field|widget_type == 'checkboxinput' %} | 
					
						
							|  |  |  |                             <label for="{{ field.id_for_label }}">{{ field }} {{ field.label }}</label> | 
					
						
							|  |  |  |                         {% else %} | 
					
						
							|  |  |  |                             {{ field.label_tag }} | 
					
						
							|  |  |  |                             {{ field }} | 
					
						
							|  |  |  |                         {% endif %} | 
					
						
							|  |  |  |                     </div> | 
					
						
							|  |  |  |                 {% endfor %} | 
					
						
							| 
									
										
										
										
											2019-03-05 15:42:47 -06:00
										 |  |  |                 <div class="text-right noprint"> | 
					
						
							| 
									
										
										
										
											2016-07-29 12:51:23 -04:00
										 |  |  |                     <button type="submit" class="btn btn-primary"> | 
					
						
							| 
									
										
										
										
											2017-01-24 12:05:39 -05:00
										 |  |  |                         <span class="fa fa-search" aria-hidden="true"></span> Apply | 
					
						
							| 
									
										
										
										
											2016-07-29 12:51:23 -04:00
										 |  |  |                     </button> | 
					
						
							| 
									
										
										
										
											2017-01-24 12:05:39 -05:00
										 |  |  |                     <a href="." class="btn btn-default"> | 
					
						
							|  |  |  |                         <span class="fa fa-remove" aria-hidden="true"></span> Clear | 
					
						
							|  |  |  |                     </a> | 
					
						
							|  |  |  |                 </div> | 
					
						
							| 
									
										
										
										
											2016-07-29 12:51:23 -04:00
										 |  |  |         </form> | 
					
						
							|  |  |  |     </div> | 
					
						
							|  |  |  | </div> |