{% if edit_title %}
{{ post_form.title.errors }}
{{ post_form.title }}
{{ post_form.title.help_text }}
{% endif %}
{{ post_form.text }}{# this element is resizable and will be wrapped by js #}
{# need label element for resizable input, b/c form validation won't find span #} {% if post_type == 'question' %}
{% if mandatory_tags %} {{ tag_list_widget( mandatory_tags, make_links = False, css_class = 'clearfix' ) }} {% else %} {% endif %} {{ post_form.tags.errors }}
{{ post_form.tags }}
{{ post_form.tags.help_text }}
{% endif %} {% if 'summary' in post_form['fields'] %}
{{ post_form.summary.label_tag() }}
{{ post_form.summary }}
{{ post_form.summary.help_text }}
{{ post_form.summary.errors }}
{% endif %}
{% trans %}hide preview{% endtrans %}