2013-10-16 23:53:52 +00:00
|
|
|
<form method="post" action="">
|
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-10-16 23:53:52 +00:00
|
|
|
<input type="submit" value="search" />
|
|
|
|
<p>
|
2013-10-17 19:06:28 +00:00
|
|
|
{% for category in categories %}
|
2013-10-20 10:19:34 +00: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-16 23:53:52 +00:00
|
|
|
{% endfor %}
|
|
|
|
</p>
|
|
|
|
</form>
|