{% extends 'votebase/base.html' %} {% load i18n %} {% block title %}{{ title }}{% endblock %} {% block content_title %} {% trans 'Back' %}{{ content_title }} {% endblock %} {% block content_title_extra %}{% include 'surveys/helpers/advanced.html' %}{% endblock %} {% block subtitle %}{% trans 'Question types' %}{% endblock %} {% block subtitle_extra %}{% include 'surveys/helpers/tabs.html' with active='questions' survey=survey %}{% endblock %} {% block content %}
{% include 'questions/helpers/kinds.html' with active=kind|lower %}
{% csrf_token %}
{% trans 'Question' %}
{% include 'votebase/helpers/form.html' %}
{% if formset %}
{% trans 'Options' %}
{{ formset.management_form }}
{% for form in formset %}
{% include 'votebase/helpers/form.html' with form=form %}
{% endfor %}
{% endif %} {% if submit_buttons %}
{% include 'votebase/helpers/submit_buttons.html' %}
{% endif %}
{% endblock %}