gremmie@1: {% extends 'base.html' %} bgneal@310: {% load url from future %} gremmie@1: {% load comment_tags %} gremmie@1: {% block title %}Polls: {{ poll.question }}{% endblock %} gremmie@1: {% block content %} gremmie@1:
You voted for "{{ user_choice.choice }}".
bgneal@439: {% endif %} gremmie@1: {% get_comment_count for poll as comment_count %} gremmie@1:bgneal@310: This poll has {{ comment_count }} comment{{ comment_count|pluralize }}. gremmie@1: {% if poll.is_open %} gremmie@1: Voting for this poll started on {{ poll.start_date|date:"F d, Y" }}. gremmie@1: {% if poll.end_date %} gremmie@1: Voting will end on {{ poll.end_date|date:"F d, Y" }}. gremmie@1: {% endif %} gremmie@1: {% else %} gremmie@1: This poll ran from {{ poll.start_date|date:"F d, Y" }} to {{ poll.end_date|date:"F d, Y" }}. gremmie@1: {% endif %} gremmie@1:
gremmie@1:bgneal@439: View Results & Comments gremmie@1: {% if poll.is_open and user.is_authenticated %} bgneal@439: | Vote gremmie@1: {% endif %} bgneal@439: | All Polls gremmie@1:
gremmie@1: {% endblock %}