2013-11-26 19:59:07 +00:00
|
|
|
<form method="post" action="/" id="search_form">
|
2013-11-01 14:33:53 +00:00
|
|
|
<div id="search_wrapper">
|
2013-10-17 18:44:50 +00:00
|
|
|
<input type="text" class="q" name="q" tabindex="1" autocomplete="off" {% if q %}value="{{ q }}"{% endif %}/>
|
2013-11-01 17:29:16 +00:00
|
|
|
<input type="submit" value="" id="search_submit" />
|
2013-11-01 14:33:53 +00:00
|
|
|
</div>
|
2013-12-03 13:29:00 +00:00
|
|
|
<div>
|
2013-10-17 19:06:28 +00:00
|
|
|
{% for category in categories %}
|
2013-10-20 10:19:34 +00:00
|
|
|
<div class="checkbox_container">
|
2013-12-12 11:48:04 +00: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 10:19:34 +00:00
|
|
|
</div>
|
2013-10-16 23:53:52 +00:00
|
|
|
{% endfor %}
|
2013-12-03 13:29:00 +00:00
|
|
|
</div>
|
2013-10-16 23:53:52 +00:00
|
|
|
</form>
|