{% load i18n %} {% load widget_tweaks %}
{% csrf_token %} {% for error in post_form.non_field_errors %}
{{ error }}
{% endfor %} {% include "partials/form_field.html" with field=post_form.subject %} {% include "partials/form_field.html" with field=post_form.content %} {% if post_form.username %} {% include "partials/form_field.html" with field=post_form.username %} {% endif %} {% if post_form.update_reason %} {% include "partials/form_field.html" with field=post_form.update_reason %} {% endif %}

{% include "partials/form_field.html" with field=post_form.topic_type %}
{% if poll_option_formset %}

{% if poll_options_validated and poll_option_formset.non_form_errors %}
{{ poll_option_formset.non_form_errors|striptags }}
{% endif %}
{% include "partials/form_field.html" with field=post_form.poll_question %} {% include "partials/form_field.html" with field=post_form.poll_max_options %} {% include "partials/form_field.html" with field=post_form.poll_duration %}
{% include "forum_conversation/forum_polls/poll_option_formset.html" %}
{% endif %} {% if attachment_formset %}

{% include "forum_conversation/forum_attachments/attachment_formset.html" %}
{% endif %}