search.html 605 B

1234567891011
  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. <div class="checkbox_container">
  7. <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>
  8. </div>
  9. {% endfor %}
  10. </p>
  11. </form>