2013-11-01 15:33:53 +01:00
|
|
|
<form method="post" action="/" id="search_form">
|
|
|
|
<div id="search_wrapper">
|
2013-10-17 20:44:50 +02:00
|
|
|
<input type="text" 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-10-17 01:53:52 +02:00
|
|
|
<p>
|
2013-10-17 21:06:28 +02:00
|
|
|
{% for category in categories %}
|
2013-10-20 12:19:34 +02:00
|
|
|
<div class="checkbox_container">
|
|
|
|
<input type="checkbox" id="checkbox_{{ category }}" name="category_{{ category }}" {% if category in selected_categories %}checked="checked"{% endif %} /><label for="checkbox_{{ category }}" class="cb"></label><label for="checkbox_{{ category }}">{{ category }}</label>
|
|
|
|
</div>
|
2013-10-17 01:53:52 +02:00
|
|
|
{% endfor %}
|
|
|
|
</p>
|
|
|
|
</form>
|