mirror of
https://github.com/searxng/searxng.git
synced 2024-12-05 00:46:28 +00:00
13 lines
783 B
HTML
13 lines
783 B
HTML
<div id="categories">
|
|
{%- 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>
|
|
{%- 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>
|
|
{%- endfor %}
|
|
{%- endif -%}
|
|
</div>
|