addons-server/templates/search.html

20 строки
873 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') }}">
2011-11-23 03:06:50 +04:00
{% if search_cat != 'collections' %}
<div id="site-search-suggestions"
data-cat="{{ search_placeholder or search_cat }}"
data-src="{{ url('search.suggestions') }}"></div>
{% endif %}
</form>