Mercurial > public > sg101
comparison gpp/templates/polls/poll_vote.html @ 1:dbd703f7d63a
Initial import of sg101 stuff from private repository.
author | gremmie |
---|---|
date | Mon, 06 Apr 2009 02:43:12 +0000 |
parents | |
children | 6a5549c2efb5 |
comparison
equal
deleted
inserted
replaced
0:900ba3c7b765 | 1:dbd703f7d63a |
---|---|
1 {% extends 'base.html' %} | |
2 {% block title %}Polls: {{ poll.question }}{% endblock %} | |
3 {% block custom_css %} | |
4 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/polls.css" /> | |
5 {% endblock %} | |
6 {% block content %} | |
7 <h2>Poll</h2> | |
8 <h3>{{ poll.question }}</h3> | |
9 <form action="." method="post"> | |
10 <div class="poll-form"> | |
11 {{ vote_form.as_p }} | |
12 <input type="submit" value="Vote" /> | |
13 </div> | |
14 </form> | |
15 <p class="poll-nav"> | |
16 <a href="{{ poll.get_absolute_url }}">Poll Details</a> | |
17 | <a href="{% url polls.views.poll_results poll.id %}">View Results</a> | |
18 | <a href="{% url polls.views.poll_index %}">Poll Index</a> | |
19 </p> | |
20 <p>This poll was published on {{ poll.start_date|date:"F d, Y" }}.</p> | |
21 {% endblock %} |