Answers: {{ item.answers_count }} / {{ responses_count }} submissions
{% if item.question.question_type == 'RATING' %}
Average Score
{{ item.average_rating }}
Out of 5
{% for r in item.rating_breakdown %}
{{ r.rating }} ★
{{ r.count }} ({{ r.percentage }}%)
{% endfor %}
{% elif item.question.question_type == 'CHOICE' %}
{% for c in item.choice_counts %}
{{ c.choice }}
{{ c.count }} responses ({{ c.percentage }}%)
{% empty %}
No choice options selected yet.
{% endfor %}
{% elif item.question.question_type == 'TEXT' %}
Show all {{ item.text_answers|length }} replies
{% for ans in item.text_answers %}
{% empty %}
No text responses submitted yet.
{% endfor %}
{% elif item.question.question_type == 'INTEGER' %}
Average Response
{{ item.average_integer }}
Submitted Numbers
{% for ans in item.integer_answers %}
{{ ans }}
{% empty %}
No submissions yet.
{% endfor %}
{% elif item.question.question_type == 'DATE' %}
Show all {{ item.date_answers|length }} date responses
{% for ans in item.date_answers %}
{{ ans|date:"Y-m-d" }}
{% empty %}
No dates submitted yet.
{% endfor %}
{% endif %}