{% extends 'polls/base.html' %} {% load crispy_forms_tags %} {% block content %}
{% csrf_token %}

{{ question.question_text }}

{% if question.pub_date %}
{{ question.pub_date }}
{% endif %} {% if user.is_staff %} {% endif %}
{% if error_message %}

{{ error_message }}

{% endif %} {% for choice in question.choice_set.all %}
{% endfor %}
{% endblock %}