{% extends "survey/base.html" %}{% load propmgr %} {% block scripts %}{% load adminmedia %} {% endblock %} {% block content %}

{{ title }} ({{ survey.submission_count }} Submission{{ survey.submission_count|pluralize:"s" }})


{% for question in survey.questions.all %}

{{ question.text|escape }} ({{ question.answer_count }} {% if question.choices.count %}Vote{% else %}Answer{% endif %}{{ question.answer_count|pluralize:"s" }})

{% if question.choices.count %} {% for choice in question.choices %}
{% ifequal question.qtype "I" %}{% else %}{{ choice.text|escape }}{% endifequal %}
{% if choice.count %} {% endif %} {{ choice.count }} vote{{ choice.count|pluralize:"s" }} / {% widthratio choice.count question.answer_count 100 %}%
{% endfor %} {% else %} {% for answer in question.answers.all %}
{% if view_submissions %}{% endif %}Answer {{ forloop.counter }}{% if view_submissions %}{% endif %} of {{ question.answer_count }}
{{ answer.text|escape|preserveindentbr }}

{% endfor %} {% endif %}
{% endfor %} {% endblock %}