add div tag for centering ability
This commit is contained in:
@@ -2,12 +2,16 @@
|
||||
|
||||
<link rel="stylesheet" href="{% static 'polls/style.css' %}">
|
||||
|
||||
<h1>Different votes</h1>
|
||||
|
||||
{% if latest_question_list %}
|
||||
<div>
|
||||
<ul>
|
||||
{% for question in latest_question_list %}
|
||||
<li><a href="{% url 'polls:detail' question.id %}">{{ question.question_text }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
{% else %}
|
||||
<p>No polls are available.</p>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user