2013-11-26 20:59:07 +01:00
|
|
|
<form method="post" action="/" id="search_form">
|
2013-11-01 15:33:53 +01:00
|
|
|
<div id="search_wrapper">
|
2014-01-02 22:57:28 +01:00
|
|
|
<input type="text" id="q" class="q" name="q" tabindex="1" autocomplete="off" {% if q %}value="{{ q }}"{% endif %}/>
|
2013-11-01 18:29:16 +01:00
|
|
|
<input type="submit" value="" id="search_submit" />
|
2013-11-01 15:33:53 +01:00
|
|
|
</div>
|
2013-12-03 14:29:00 +01:00
|
|
|
<div>
|
2013-10-17 21:06:28 +02:00
|
|
|
{% for category in categories %}
|
2013-10-20 12:19:34 +02:00
|
|
|
<div class="checkbox_container">
|
2013-12-12 12:48:04 +01:00
|
|
|
<input type="checkbox" id="checkbox_{{ category|replace(' ', '_') }}" name="category_{{ category }}" {% if category in selected_categories %}checked="checked"{% endif %} /><label for="checkbox_{{ category|replace(' ', '_') }}" class="cb"></label><label for="checkbox_{{ category|replace(' ', '_') }}">{{ category }}</label>
|
2013-10-20 12:19:34 +02:00
|
|
|
</div>
|
2013-10-17 01:53:52 +02:00
|
|
|
{% endfor %}
|
2013-12-03 14:29:00 +01:00
|
|
|
</div>
|
2013-10-17 01:53:52 +02:00
|
|
|
</form>
|