{% extends "cranefly/search/search_form.html" %} {% import "forms.html" as form_theme with context %} {% import "cranefly/macros.html" as macros with context %} {% block title %}{{ macros.page_title(title=_('Search Forums'), parent=_("Search Community")) }}{% endblock %} {% block form %}

{% trans %}Search Forums{% endtrans %}

{% if message %}
{{ macros.draw_message(message) }}
{% endif %}
{{ form_theme.hidden_fields(form) }}
{{ form_theme.row(form.search_query, attrs={'class': 'span8'}) }} {{ form_theme.row(form.search_thread_titles, attrs={'inline': lang_search_thread_titles()}) }} {{ form_theme.row(form.search_thread, attrs={'class': 'span8'}) }} {{ form_theme.row(form.search_author, attrs={'class': 'span8'}) }}
{{ form_theme.row(form.search_forums, attrs={'class': 'span8', 'size': 8}) }} {{ form_theme.row(form.search_forums_childs, attrs={'inline': lang_search_forum_children()}) }}
{{ form_theme.row(form.search_before, attrs={'class': 'span8 form-datepicker'}) }} {{ form_theme.row(form.search_after, attrs={'class': 'span8 form-datepicker'}) }}
{% endblock %} {% macro lang_search_forum_children() -%} {% trans %}Include Children Forums in Search{% endtrans %} {%- endmacro %}