parent
a8ab36ffd6
commit
dcb683de36
4 changed files with 60 additions and 2 deletions
@ -0,0 +1,10 @@ |
|||||||
|
<!DOCTYPE html> |
||||||
|
<html lang="en"> |
||||||
|
<head> |
||||||
|
<meta charset="UTF-8"> |
||||||
|
<title>Title-{{ question }}</title> |
||||||
|
</head> |
||||||
|
<body> |
||||||
|
{{ question }} |
||||||
|
</body> |
||||||
|
</html> |
@ -0,0 +1,18 @@ |
|||||||
|
<!DOCTYPE html> |
||||||
|
<html lang="en"> |
||||||
|
<head> |
||||||
|
<meta charset="UTF-8"> |
||||||
|
<title>Title</title> |
||||||
|
</head> |
||||||
|
<body> |
||||||
|
{% if latest_question_list %} |
||||||
|
<ul> |
||||||
|
{% for question in latest_question_list %} |
||||||
|
<li><a href="https://127.0.0.1/polls/{{ question.id }}/">{{ question.question_text }}</a></li> |
||||||
|
{% endfor %} |
||||||
|
</ul> |
||||||
|
{% else %} |
||||||
|
<p>No polls are available.</p> |
||||||
|
{% endif %} |
||||||
|
</body> |
||||||
|
</html> |
Loading…
Reference in new issue