2019-08-06 09:41:16 +00:00
|
|
|
{% from 'oscar/macros.html' import icon %}
|
|
|
|
<form method="{{ method or 'POST' }}" action="{{ url_for('index') }}" id="search_form" role="search">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-12 col-md-8">
|
|
|
|
<div class="input-group search-margin">
|
2020-05-27 12:49:00 +00:00
|
|
|
<input type="search" autofocus name="q" class="form-control" id="q" placeholder="{{ _('Search for...') }}" aria-label="{{ _('Search for...') }}" autocomplete="off" value="{{ q }}" accesskey="s">
|
2019-08-06 09:41:16 +00:00
|
|
|
<span class="input-group-btn">
|
|
|
|
<button type="submit" class="btn btn-default" aria-label="{{ _('Start search') }}"><span class="hide_if_nojs">{{ icon('search') }}</span><span class="hidden active_if_nojs">{{ _('Start search') }}</span></button>
|
2020-03-23 11:41:02 +00:00
|
|
|
<button type="reset" class="btn btn-default" aria-label="{{ _('Clear search') }}"><span class="hide_if_nojs">{{ icon('remove') }}</span><span class="hidden active_if_nojs">{{ _('Clear') }}</span></button>
|
2019-08-06 09:41:16 +00:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-6 col-md-2 search-margin">
|
|
|
|
{%- include 'oscar/time-range.html' -%}
|
|
|
|
</div>
|
|
|
|
<div class="col-xs-6 col-md-2 search-margin">
|
|
|
|
{%- include 'oscar/languages.html' -%}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-12">
|
|
|
|
{%- include 'oscar/categories.html' -%}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form><!-- / #search_form_full -->
|