{% extends 'votebase/base.html' %} {% load i18n question_extras %} {% block title %}{{ survey.title }}{% endblock %} {% block content_title %} {% trans 'Back' %}
{% csrf_token %}
{% endblock %} {% block content_title_extra %}{% include 'surveys/helpers/advanced.html' %}{% endblock %} {% block subtitle %}{% trans 'Preview' %}{% endblock %} {% block subtitle_extra %}{% include 'surveys/helpers/tabs.html' with active='preview' survey=survey %}{% endblock %} {% block content %}
{% if survey.preface %}
{% autoescape off %}{{ survey.preface }}{% endautoescape %} ← {% trans 'Change preface' %}
{% endif %}
{% if question_forms %} {% for form in question_forms %}
{% include 'votebase/helpers/form.html' %} {% if not forloop.last %}
{% endif %}
{% endfor %} {% else %} {% for question in questions %}
{% get_voting_form question forloop.counter %}
{% if not forloop.last %}
{% endif %} {% endfor %} {% endif %}
{% trans 'Continue' %}
{% endblock %}