search.html 416 B

123456789
  1. <form method="post" action="">
  2. <input type="text" class="q" name="q" tabindex="1" autocomplete="off" {% if q %}value="{{ q }}"{% endif %}/>
  3. <input type="submit" value="search" />
  4. <p>
  5. {% for category in categories %}
  6. {{ category }}: <input type="checkbox" name="category_{{ category }}" {% if category in selected_categories %}checked="checked"{% endif %} />
  7. {% endfor %}
  8. </p>
  9. </form>