Code

Ticket #4875: poll_list.html

File poll_list.html, 185 bytes (added by John Shaffer <jshaffer2112@…>, 7 years ago)
Line 
1{% if object_list %}
2    <ul>
3    {% for poll in object_list%}
4        <li>{{ poll.question }}</li>
5    {% endfor %}
6    </ul>
7{% else %}
8    <p>No polls are available.</p>
9{% endif %}