Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Invalid block tag on line 5: 'endfor', expected 'elif', 'else' or 'endif'.
- Did you forget to register or load this tag?
- {% if latest_question_list %}
- <ul>
- {% for question in latest_question_list %}
- <li><a href="/polls/{{ question.id }}/">{{ question.question_text }}</a></li>
- {% endfor %}
- </ul>
- {% else %}
- <p>No polls are available.</p>
- {% endif %}
Add Comment
Please, Sign In to add comment