mirror of https://github.com/searxng/searxng.git
[mod] separating categories
This commit is contained in:
parent
11fdd8e8ac
commit
a3de9ba56c
|
@ -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