2014-09-27 08:23:05 +00:00
|
|
|
{% from 'oscar/macros.html' import icon %}
|
|
|
|
<form method="{{ method or 'POST' }}" action="{{ url_for('index') }}" id="search_form" role="search">
|
2014-09-27 10:33:22 +00:00
|
|
|
<div class="input-group col-sm-12">
|
|
|
|
<input type="search" name="q" class="form-control" id="q" placeholder="{{ _('Search for...') }}" autocomplete="off" value="{{ q }}">
|
2014-09-27 08:23:05 +00:00
|
|
|
<span class="input-group-btn">
|
2015-01-15 15:03:30 +00:00
|
|
|
<button type="submit" class="btn btn-default"><span class="hide_if_nojs">{{ icon('search') }}</span><span class="hidden active_if_nojs">{{ _('Start search') }}</span></button>
|
2014-09-27 08:23:05 +00:00
|
|
|
</span>
|
|
|
|
</div>
|
2014-09-27 10:33:22 +00:00
|
|
|
<div class="search_categories">
|
2014-09-27 08:23:05 +00:00
|
|
|
{% include 'oscar/categories.html' %}
|
|
|
|
</div><!-- / #search_categories -->
|
|
|
|
</form><!-- / #search_form_full -->
|