{% extends 'survey/base.html' %} {% load i18n %} {% load survey_extras %} {% load static %} {% block title %} {{ survey.name }} {% endblock title %} {% block extrajs %} {{ response_form.media }} {% if asset_context.flatpickr %} {% endif %} {% endblock %} {% block extracss %} {% if asset_context.flatpickr %} {{ block.super }} {% endif %} {% endblock %} {% block body %}

{{ survey.name }}

{{ survey.description|safe }}
{% if step and step != 0 %}
{% else %} {% endif %} {% csrf_token %} {% for category in categories %}

{{ category }}

{{ category.description|default_if_none:"" }}

{% include "survey/question.html" %}
{% empty %}

{% trans "Questions" %}

{% include "survey/question.html" %} {% endfor %}
{% if survey.editable_answers or response_form.response is None %} {% if response_form.has_next_step %} {% else %} {% endif %} {% endif %}
{% endblock %}