Spaces:
Sleeping
Sleeping
Commit
·
5bb6f48
1
Parent(s):
fa9900a
data
Browse files
app/polls/templates/polls/results.html
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<h1>{{ question.question_text }}</h1>
|
2 |
+
|
3 |
+
<ul>
|
4 |
+
{% for choice in question.choice_set.all %}
|
5 |
+
<li>{{ choice.choice_text }} -- {{ choice.votes }} vote{{ choice.votes|pluralize }}</li>
|
6 |
+
{% endfor %}
|
7 |
+
</ul>
|
8 |
+
|
9 |
+
<a href="{% url 'polls:detail' question.id %}">Vote again?</a>
|