Poll: "{{ poll.question }}" Results
Results {% if has_voted %}(You have voted){% endif %}
{% if has_voted %}
{% for choice in poll.pollchoice_set.all %}
- {{ choice.choice }} {{ choice.votes }} {{poll.choice_set.count}}
{% ifequal choice.id user_choice.choice.id %} ← Your Vote{% endifequal %}
{% endfor %}
{% else %}
{% for choice in poll.pollchoice_set.all %}
- {{ choice.choice }} - {{ choice.votes }}
{% endfor %}
{% endif %}
{% ifnotequal poll.comment_status 1 %}
{% load comments %}
Comments
{% render_comment_list for poll %}
{% ifequal poll.comment_status 3 %}
Make your own comment
{% render_comment_form for poll %}
{% endifequal %}
{% endifnotequal %}