2010-12-10 02:31:09 +03:00
|
|
|
{% set search_form = SimpleSearchForm(request, search_cat) %}
|
2011-09-27 05:59:21 +04:00
|
|
|
<form id="search" action="{{ url('search.search') }}">
|
2010-12-02 02:27:17 +03:00
|
|
|
<span class="wrap">
|
2011-11-10 01:27:31 +04:00
|
|
|
<input id="search-q" type="text" name="q" autocomplete="off" title=""
|
2010-12-02 02:27:17 +03:00
|
|
|
class="text {% if not search_form.q.data %}placeholder{% endif %}"
|
2010-12-10 02:31:09 +03:00
|
|
|
placeholder="{{ search_form.placeholder() }}"
|
|
|
|
value="{{ search_form.q.data or '' }}">
|
2010-12-16 21:22:56 +03:00
|
|
|
{{ search_form.cat }}
|
2011-10-26 12:29:29 +04:00
|
|
|
{{ search_form.appver }}
|
|
|
|
{{ search_form.platform }}
|
2010-12-02 02:27:17 +03:00
|
|
|
</span>
|
2011-10-08 01:57:29 +04:00
|
|
|
<input id="search-button" type="image" class="submit search-button" title="{{ _('Search') }}"
|
2011-02-04 21:43:56 +03:00
|
|
|
src="{{ media('img/zamboni/global/btn-search.png') }}">
|
2011-11-23 03:06:50 +04:00
|
|
|
{% if search_cat != 'collections' %}
|
2011-10-19 01:41:56 +04:00
|
|
|
<div id="site-search-suggestions"
|
2011-11-21 23:23:03 +04:00
|
|
|
data-cat="{{ search_placeholder or search_cat }}"
|
2011-10-19 01:41:56 +04:00
|
|
|
data-src="{{ url('search.suggestions') }}"></div>
|
|
|
|
{% endif %}
|
2010-12-10 02:31:09 +03:00
|
|
|
</form>
|