search_private_threads.html 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. {% extends "cranefly/search/search_form.html" %}
  2. {% import "forms.html" as form_theme with context %}
  3. {% import "cranefly/macros.html" as macros with context %}
  4. {% block title %}{{ macros.page_title(title=_('Search Private Threads'), parent=_("Search Community")) }}{% endblock %}
  5. {% block form %}
  6. <div class="form-container">
  7. <div class="form-header">
  8. <h1>{% trans %}Search Private Threads{% endtrans %}</h1>
  9. </div>
  10. {% if message %}
  11. <div class="messages-list">
  12. {{ macros.draw_message(message) }}
  13. </div>
  14. {% endif %}
  15. <form action="{{ url(search_route) }}" method="post">
  16. {{ form_theme.hidden_fields(form) }}
  17. <div class="form-fields">
  18. <fieldset class="first last">
  19. {{ form_theme.row(form.search_query, attrs={'class': 'span8'}) }}
  20. {{ form_theme.row(form.search_thread_titles, attrs={'inline': lang_search_thread_titles()}) }}
  21. {{ form_theme.row(form.search_thread, attrs={'class': 'span8'}) }}
  22. {{ form_theme.row(form.search_author, attrs={'class': 'span8'}) }}
  23. <hr>
  24. {{ form_theme.row(form.search_before, attrs={'class': 'span8 form-datepicker'}) }}
  25. {{ form_theme.row(form.search_after, attrs={'class': 'span8 form-datepicker'}) }}
  26. </fieldset>
  27. </div>
  28. <div class="form-actions">
  29. <button type="submit" class="btn btn-primary">{% trans %}Search{% endtrans %}</button>
  30. </div>
  31. </form>
  32. </div>
  33. {% endblock %}