{% extends "base_template.html" %} {% block title %}{{ _('Responses') }} — {{ survey.title }}{% endblock %} {% block content %}
{{ ngettext('%(n)d response', '%(n)d responses', total, n=total) }}
{{ loop.index }}. {{ r.question.prompt }}
{{ _(r.question.type) }} · {{ ngettext('%(n)d answer', '%(n)d answers', r.n, n=r.n) }}{% if r.average is defined and r.average is not none %} · {{ _('average') }} {{ r.average }}{% endif %}
{% if r.counts is defined %} {% set mx = (r.counts.values() | max) if r.counts else 0 %} {% elif r.texts is defined %} {% if r.texts %}{{ _('No answers yet.') }}
{% endif %} {% endif %}{{ _('This survey has no questions yet.') }}
{% endfor %} {% endblock %}