diff gpp/templates/polls/poll_vote.html @ 447:8f46ba2f1b81

For #219, rework the polls views for a better flow. Added some tests for the views.
author Brian Neal <bgneal@gmail.com>
date Sat, 25 Jun 2011 23:23:20 +0000
parents 1f139de929c4
children
line wrap: on
line diff
--- a/gpp/templates/polls/poll_vote.html	Mon Jun 13 02:19:13 2011 +0000
+++ b/gpp/templates/polls/poll_vote.html	Sat Jun 25 23:23:20 2011 +0000
@@ -24,9 +24,8 @@
    </form>
 {% endif %}
 <p class="poll-nav">
-<a href="{{ poll.get_absolute_url }}">Poll Details</a>
-| <a href="{% url 'polls-results' poll.id %}">View Results</a>
-| <a href="{% url 'polls-main' %}">All Polls</a>
+<a href="{{ poll.get_absolute_url }}">View results</a>
+| <a href="{% url 'polls-main' %}">All polls</a>
 </p>
 <p>This poll was published on {{ poll.start_date|date:"F d, Y" }}.</p>
 {% endblock %}