[mod] separating categories
This commit is contained in:
		
							parent
							
								
									11fdd8e8ac
								
							
						
					
					
						commit
						a3de9ba56c
					
				
							
								
								
									
										5
									
								
								searx/templates/categories.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								searx/templates/categories.html
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,5 @@ | ||||
| {% for category in categories %} | ||||
|     <div class="checkbox_container"> | ||||
|         <input type="checkbox" id="checkbox_{{ category|replace(' ', '_') }}" name="category_{{ category }}" {% if category in selected_categories %}checked="checked"{% endif %} /><label for="checkbox_{{ category|replace(' ', '_') }}" class="cb"></label><label for="checkbox_{{ category|replace(' ', '_') }}">{{ category }}</label> | ||||
|     </div> | ||||
| {% endfor %} | ||||
| @ -4,10 +4,6 @@ | ||||
|     <input type="submit" value="" id="search_submit" /> | ||||
| </div> | ||||
|     <div> | ||||
|     {% for category in categories %} | ||||
|         <div class="checkbox_container"> | ||||
|             <input type="checkbox" id="checkbox_{{ category|replace(' ', '_') }}" name="category_{{ category }}" {% if category in selected_categories %}checked="checked"{% endif %} /><label for="checkbox_{{ category|replace(' ', '_') }}" class="cb"></label><label for="checkbox_{{ category|replace(' ', '_') }}">{{ category }}</label> | ||||
|         </div> | ||||
|     {% endfor %} | ||||
|     {% include 'categories.html' %} | ||||
|     </div> | ||||
| </form> | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user