mirror of
https://github.com/Sosokker/ku-polls.git
synced 2025-12-19 21:44:06 +01:00
Add publication to poll cards.
This commit is contained in:
parent
9f3aba25cd
commit
1f3840c0b8
@ -8,6 +8,7 @@
|
|||||||
{% for question in latest_question_list %}
|
{% for question in latest_question_list %}
|
||||||
<div class="poll-card">
|
<div class="poll-card">
|
||||||
<h3><a href="{% url 'polls:detail' question.id %}">{{ question.question_text }}</a></h3>
|
<h3><a href="{% url 'polls:detail' question.id %}">{{ question.question_text }}</a></h3>
|
||||||
|
<p class="publication-date">Published on: {{ question.pub_date|date:"F j, Y" }}</p>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user