gremmie@1: {% extends 'base.html' %} bgneal@310: {% load url from future %} gremmie@1: {% load comment_tags %} bgneal@6: {% load script_tags %} gremmie@1: {% block title %}Poll Results: {{ poll.question }}{% endblock %} gremmie@1: {% block custom_css %} gremmie@1: gremmie@1: gremmie@1: {% endblock %} gremmie@1: {% block custom_js %} bgneal@6: {% if poll.is_open %} bgneal@127: {% script_tags "markitup jquery-ui" %} gremmie@1: bgneal@6: {% endif %} gremmie@1: {% endblock %} gremmie@1: {% block content %} gremmie@1:

Polls

gremmie@1:

{{ poll.question }}

gremmie@1:
gremmie@1: {% for choice in choices %} gremmie@1:
{{ choice.choice }} - {{ choice.pct|floatformat }}% ({{ choice.votes }} vote{{ choice.votes|pluralize }})
gremmie@1:
gremmie@1:
gremmie@1:  
gremmie@1:
gremmie@1: {% endfor %} gremmie@1:
gremmie@1:

{{ total_votes }} total vote{{ total_votes|pluralize }}.

gremmie@1:

gremmie@1: Poll Details gremmie@1: {% if poll.is_open and user.is_authenticated %} bgneal@310: | Vote gremmie@1: {% endif %} bgneal@310: | Poll Index gremmie@1:

gremmie@1: gremmie@1: {% get_comment_count for poll as comment_count %} gremmie@1:

This poll has {{ comment_count }} comment{{ comment_count|pluralize }}.

gremmie@1:
gremmie@1: {% render_comment_list poll %} gremmie@1: {% if poll.is_open %} gremmie@1:

Leave a comment?

gremmie@1: {% render_comment_form for poll %} gremmie@1: {% else %} gremmie@1:

Comments are closed for this poll. If you'd like to share your thoughts on this poll bgneal@310: with the site staff, you can contact us directly.

gremmie@1: {% endif %} gremmie@1: {% endblock %}