1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-17 01:50:10 +01:00
searxng/searx/templates/oscar/categories.html

14 lines
783 B
HTML
Raw Normal View History

<div id="categories">
2019-08-06 11:41:16 +02:00
{%- if rtl -%}
{% for category in categories | reverse -%}
<input class="hidden" type="checkbox" id="checkbox_{{ category|replace(' ', '_') }}" name="category_{{ category }}" {% if category in selected_categories %}checked="checked"{% endif %} />{{- '' -}}
<label for="checkbox_{{ category|replace(' ', '_') }}">{{ _(category) }}</label>
2019-08-06 11:41:16 +02:00
{%- endfor %}
{%- else -%}
{% for category in categories -%}
<input class="hidden" type="checkbox" id="checkbox_{{ category|replace(' ', '_') }}" name="category_{{ category }}" {% if category in selected_categories %}checked="checked"{% endif %} />{{- '' -}}
<label for="checkbox_{{ category|replace(' ', '_') }}">{{ _(category) }}</label>
2019-08-06 11:41:16 +02:00
{%- endfor %}
{%- endif -%}
</div>