addons-server/templates/search.html

20 строки
913 B
HTML
Исходник Обычный вид История

{% set search_form = SimpleSearchForm(request, search_cat) %}
<form id="search" action="{{ url('search.search') }}">
<span class="wrap">
2011-11-10 01:27:31 +04:00
<input id="search-q" type="text" name="q" autocomplete="off" title=""
class="text {% if not search_form.q.data %}placeholder{% endif %}"
placeholder="{{ search_form.placeholder() }}"
value="{{ search_form.q.data or '' }}">
{{ search_form.cat }}
{{ search_form.appver }}
{{ search_form.platform }}
</span>
<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') }}">
{% if search_cat != 'collections' and waffle.switch('search-suggestions') %}
<div id="site-search-suggestions"
data-cat="{{ search_placeholder or search_cat }}"
data-src="{{ url('search.suggestions') }}"></div>
{% endif %}
</form>