searxng/searx/templates/oscar/categories.html

14 lines
799 B
HTML
Raw Normal View History

<div id="categories">
2019-08-06 09:41:16 +00:00
{%- if rtl -%}
{% for category in categories_as_tabs | reverse -%}
2019-08-06 09:41:16 +00:00
<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 09:41:16 +00:00
{%- endfor %}
{%- else -%}
{% for category in categories_as_tabs -%}
2019-08-06 09:41:16 +00:00
<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 09:41:16 +00:00
{%- endfor %}
{%- endif -%}
</div>