mirror of
https://github.com/searxng/searxng
synced 2024-01-01 18:24:07 +00:00
[fix] add label/info to Time range search and Language - #350
This commit is contained in:
parent
cc164abdfc
commit
969b4340fd
@ -1,3 +1,4 @@
|
|||||||
|
<label class="visually-hidden" for="language">{{ _('Language') }}</label>
|
||||||
<select class="language custom-select form-control" id="language" name="language" accesskey="l">
|
<select class="language custom-select form-control" id="language" name="language" accesskey="l">
|
||||||
<option value="all" {% if current_language == 'all' %}selected="selected"{% endif %}>{{ _('Default language') }}</option>
|
<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) -%}
|
{%- for lang_id,lang_name,country_name,english_name in language_codes | sort(attribute=1) -%}
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
<label class="visually-hidden" for="time-range">{{ _('Time range') }}</label>
|
||||||
<select name="time_range" id="time-range" class="custom-select form-control" accesskey="t">{{- "" -}}
|
<select name="time_range" id="time-range" class="custom-select form-control" accesskey="t">{{- "" -}}
|
||||||
<option id="time-range-anytime" value="" {{ "selected" if time_range=="" or not time_range else ""}}>
|
<option id="time-range-anytime" value="" {{ "selected" if time_range=="" or not time_range else ""}}>
|
||||||
{{- _('Anytime') -}}
|
{{- _('Anytime') -}}
|
||||||
|
Loading…
Reference in New Issue
Block a user