{% for section in answers_tree.sections %}
{{ question.text }}
{% for set in question.sets %} {% if question.is_collection %}{{ set.id }}:>
{{ set.id }}: {{ set.answers.0 }}
{% endif %} {% endfor %} {% endfor %} {% else %} {% for question in entity.questions %}{{ question.text }}
{% if question.is_collection %}{{ question.answers.0 }}
{% endif %} {% endfor %} {% endif %} {% else %}{{ entity.text }}
{% if entity.is_collection %}{{ entity.answers.0 }}
{% endif %} {% endif %} {% endfor %} {% endfor %} {% endfor %}