Advertisement
Stosswalkinator

index.html

Jun 3rd, 2014
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.33 KB | None | 0 0
  1. {% load staticfiles %}
  2.  
  3. <link rel="stylesheet" type="text/css" href="{% static 'polls/style.css' %}" />
  4.  
  5. {% if latest_pollPlist %}
  6.     <ul>
  7.     {% for poll in latest_poll_list %}
  8.         <li><a href="{% url 'polls:detail' poll.id %}">{{ poll.question }}</a></li>
  9.     {% endfor %}
  10.     </ul>
  11. {% else %}
  12.     <p>No polls are available.</p>
  13. {% endif %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement