forked from Ponysearch/Ponysearch
[fix] add label/info to Time range search and Language - #350
This commit is contained in:
parent
cc164abdfc
commit
969b4340fd
2 changed files with 2 additions and 0 deletions
|
@ -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">
|
||||
<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) -%}
|
||||
|
|
|
@ -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">{{- "" -}}
|
||||
<option id="time-range-anytime" value="" {{ "selected" if time_range=="" or not time_range else ""}}>
|
||||
{{- _('Anytime') -}}
|
||||
|
|
Loading…
Reference in a new issue