parent
6792a0795c
commit
7e7dc38c6f
5 changed files with 64 additions and 16 deletions
@ -0,0 +1,19 @@ |
|||||||
|
<!DOCTYPE html> |
||||||
|
<html lang="en"> |
||||||
|
<head> |
||||||
|
<meta charset="UTF-8"> |
||||||
|
<title>Title</title> |
||||||
|
</head> |
||||||
|
<body> |
||||||
|
<h1>{{ question.question_text }}</h1> |
||||||
|
|
||||||
|
<ul> |
||||||
|
{% for choice in question.choice_set.all %} |
||||||
|
<li>{{ choice.choice_text }} -- {{ choice.votes }} vote{{ choice.votes|pluralize }}</li> |
||||||
|
{% endfor %} |
||||||
|
</ul> |
||||||
|
|
||||||
|
<a href="http://127.0.0.1:8000{% url 'polls:detail' question.id %}">Vote again?</a> |
||||||
|
|
||||||
|
</body> |
||||||
|
</html> |
Loading…
Reference in new issue