2014-09-27 10:33:22 +00:00
|
|
|
{% from 'oscar/macros.html' import icon %}
|
|
|
|
|
|
|
|
<form method="{{ method or 'POST' }}" action="{{ url_for('index') }}" id="search_form" role="search">
|
2015-02-10 14:23:56 +00:00
|
|
|
{% if rtl %}
|
|
|
|
<div class="input-group">
|
|
|
|
{% else %}
|
2014-09-27 10:33:22 +00:00
|
|
|
<div class="input-group col-md-8 col-md-offset-2">
|
2015-02-10 14:23:56 +00:00
|
|
|
{% endif %}
|
2014-11-30 12:21:58 +00:00
|
|
|
<input type="search" name="q" class="form-control input-lg autofocus" id="q" placeholder="{{ _('Search for...') }}" autocomplete="off" value="{{ q }}">
|
2014-09-27 10:33:22 +00:00
|
|
|
<span class="input-group-btn">
|
2015-01-15 15:03:30 +00:00
|
|
|
<button type="submit" class="btn btn-default input-lg"><span class="hide_if_nojs">{{ icon('search') }}</span><span class="hidden active_if_nojs">{{ _('Start search') }}</span></button>
|
2014-09-27 10:33:22 +00:00
|
|
|
</span>
|
|
|
|
</div>
|
2016-07-17 16:43:47 +00:00
|
|
|
<div class="input-group col-md-8 col-md-offset-2">
|
|
|
|
{% include 'oscar/advanced.html' %}
|
|
|
|
</div>
|
2014-09-27 10:33:22 +00:00
|
|
|
|
|
|
|
</form><!-- / #search_form_full -->
|