{% extends 'base.html' %} {% load replace %} {% load choice_value %} {% load i18n %} {% load static %} {% block content %}

Fill out the forms

Fill all form field to go to next step

{% csrf_token %}
    {% for topic in questionnaire.topics.all|dictsort:"order" %}
  • {{ topic.name }}
  • {% endfor %}

{% for topic in questionnaire.topics.all|dictsort:"order" %}

{{topic.name}}:

{{topic.description}}

Step {{forloop.counter}} - {{ questionnaire.topics.all.count }}

{% for question in topic.questions.all|dictsort:"order" %}


{% if question.type == 'SINGLE' %} {% for choice in question.choices_list %} {% if choice.strip|slice:"0:1" == "=" %} {%endif%} {% endfor %} {%elif question.type == 'NUMBER' %} {%elif question.type == 'DATE' %} {%elif question.type == 'TEXT' %} {% endif %} {% endfor %}
{% if forloop.counter > 1 %} {% endif %} {% if forloop.last %} {%else %} {%endif%}
{% endfor %}
{% endblock %}