{% extends "spirit/_base.html" %} {% load spirit_tags i18n %} {% block title %}{% trans "Publish topic" %}{% endblock %} {% block head-extra %} {% endblock %} {% block content %}

{% trans "Publish topic" %}

{% csrf_token %} {# topic #} {% include "spirit/_form.html" %} {# poll #}
{% trans "Poll" %}:
{% if not pform.errors and not pformset.has_errors %}
{% trans "Add poll" %}
{% endif %}
{% include "spirit/_form.html" with form=pform %} {% include "spirit/_formset.html" with formset=pformset %}
{# comment #}
{% include "spirit/_form.html" with form=cform %}
{% include "spirit/comment/_editor.html" %}
{% endblock %}