mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
fix selects in preferences so they look consistent (#2150)
This commit is contained in:
parent
0d8970c8f2
commit
a2430154b9
9 changed files with 35 additions and 17 deletions
|
|
@ -1,5 +1,6 @@
|
|||
{% from 'oscar/macros.html' import custom_select_class %}
|
||||
<label class="visually-hidden" for="language">{{ _('Language') }}</label>
|
||||
<select class="language custom-select form-control" id="language" name="language" accesskey="l">
|
||||
<select class="language form-control {{ custom_select_class(rtl) }}" id="language" name="language" accesskey="l">
|
||||
<option value="all" {% if current_language == 'all' %}selected="selected"{% endif %}>{{ _('Default language') }}</option>
|
||||
{%- for lang_id,lang_name,country_name,english_name in language_codes | sort(attribute=1) -%}
|
||||
<option value="{{ lang_id }}" {% if lang_id == current_language %}selected="selected"{% endif %}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue