{% extends 'base.html' %} {% block content %}
{% if messages %}
{% for message in messages %}
{{ message }}
{% endfor %}
{% else %}

Result for: {{ poll.text }}

{% for choice in poll.get_result_dict %}
{{ choice.text }}-{{ choice.percentage|floatformat }}%
{% endfor %}
    {% for choice in poll.choice_set.all %}
  • {{ choice.choice_text }} {{ choice.get_vote_count }}
  • {% endfor %}
{% endif %} Back To Polls
{% endblock content %}