{% extends 'base.html' %} {% block content %}

Edit poll

{% if messages %} {% if messages %}
{% for message in messages %}
{{ message }}
{% endfor %}
{% endif %} {% endif %}
{% csrf_token %} {% for field in form %}
{{ field.errors }} {{ field.label_tag }} {{ field }}
{% endfor %} Delete Add Choice

Choices


    {% for choice in poll.choice_set.all %}
  •   {{ choice.choice_text }}
  • {% endfor %}
{% endblock %}