{% if poll.is_expired %}
This poll is now closed
{% endif %}
{{ poll.question }}
{% if has_voted %}
You have already voted. See the
results.
{% for choice in poll.pollchoice_set.all %}
{% ifequal choice.id user_choice.choice.id %} →
{{ choice.choice }}
{% else %} {{ choice.choice }} {% endifequal %}
{% endfor %}
{% else %} {% if not poll.is_expired %}
{% endif %}
{% for choice in poll.pollchoice_set.all %}
{{ choice.choice }}
{% endfor %} {% if poll.is_expired %}
This poll is now closed.
See the
results.
{% else %} {% if must_login_to_vote %}
You must be logged in to vote!
{% else %}
{% endif %} {% endif %} {% if not poll.is_expired %}
{% endif %} {% endif %}