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

Polls

bgneal@447:

Results for: {{ poll.question }}

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

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

bgneal@447: bgneal@447: {% if user_choice %} bgneal@447:

You voted for "{{ user_choice.choice }}".

bgneal@447: {% endif %} bgneal@447: bgneal@447:

bgneal@447: {% if poll.is_open %} bgneal@447: Voting for this poll started on {{ poll.start_date|date:"F d, Y" }}. bgneal@447: {% if poll.end_date %} bgneal@447: Voting will end on {{ poll.end_date|date:"F d, Y" }}. bgneal@447: {% endif %} bgneal@447: {% else %} bgneal@447: This poll ran from {{ poll.start_date|date:"F d, Y" }} to {{ poll.end_date|date:"F d, Y" }}. bgneal@447: {% endif %} bgneal@447:

bgneal@447: bgneal@447:

bgneal@447: {% if poll.is_open and user.is_authenticated %} bgneal@448: Vote | bgneal@447: {% endif %} bgneal@448: All Polls bgneal@447:

bgneal@447: bgneal@447: {% get_comment_count for poll as comment_count %} bgneal@447:

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

bgneal@447:
bgneal@447: {% render_comment_list poll %} bgneal@447: {% if poll.is_open %} bgneal@447:

Leave a comment?

bgneal@447: {% render_comment_form for poll %} bgneal@447: {% else %} bgneal@447:

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

bgneal@447: {% endif %} bgneal@447: {% endblock %}