Mercurial > public > sg101
view gpp/templates/polls/poll_vote.html @ 196:893b6d462cf9
Closing #70 with this commit and the previous on. Incorportating Ken Dushane's design for the site.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 07 Apr 2010 01:59:09 +0000 |
parents | 6a5549c2efb5 |
children | daa2916f5b34 |
line wrap: on
line source
{% extends 'base.html' %} {% block title %}Polls: {{ poll.question }}{% endblock %} {% block custom_css %} <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/polls.css" /> {% endblock %} {% block content %} <h2>Poll</h2> <h3>{{ poll.question }}</h3> <form action="." method="post">{% csrf_token %} <div class="poll-form"> {{ vote_form.as_p }} <input type="submit" value="Vote" /> </div> </form> <p class="poll-nav"> <a href="{{ poll.get_absolute_url }}">Poll Details</a> | <a href="{% url polls.views.poll_results poll.id %}">View Results</a> | <a href="{% url polls.views.poll_index %}">Poll Index</a> </p> <p>This poll was published on {{ poll.start_date|date:"F d, Y" }}.</p> {% endblock %}