2022-02-05 08:56:42 +01:00
|
|
|
<form id="search" method="{{ method or 'POST' }}" action="{{ url_for('search') }}" role="search">
|
2021-11-21 21:38:00 +01:00
|
|
|
<div id="search_header">
|
2021-09-21 00:10:12 +02:00
|
|
|
<div class="search_box">
|
2022-02-27 08:30:19 +01:00
|
|
|
<input id="q" autofocus name="q" type="text" placeholder="{{ _('Search for...') }}" autocomplete="off" spellcheck="false" dir="auto" value="{{ q or '' }}">
|
|
|
|
<button id="clear_search" type="reset" aria-label="{{ _('clear') }}"><span class="hide_if_nojs">{{ icon_big('close') }}</span><span class="show_if_nojs">{{ _('clear') }}</span></button>
|
2022-02-05 08:56:42 +01:00
|
|
|
<button id="send_search" type="submit" aria-label="{{ _('search') }}"><span class="hide_if_nojs">{{ icon_big('search-outline') }}</span><span class="show_if_nojs">{{ _('search') }}</span></button>
|
2021-09-21 00:10:12 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2022-03-24 18:18:19 +01:00
|
|
|
{% for category in selected_categories %}
|
|
|
|
<input type="hidden" name="category_{{ category }}" value="1" >
|
|
|
|
{% endfor %}
|
|
|
|
<input type="hidden" name="language" value="{{ current_language }}" >
|
|
|
|
<input type="hidden" name="time_range" value="{{ time_range }}" >
|
|
|
|
<input type="hidden" name="safesearch" value="{{ safesearch }}" >
|
|
|
|
<input type="hidden" name="theme" value="{{ theme }}" >
|
|
|
|
{% if timeout_limit %}<input type="hidden" name="timeout_limit" value="{{ timeout_limit|e }}" >{% endif %}
|
2021-09-21 00:12:39 +02:00
|
|
|
</form>
|