{% extends "base.html" %} {% load static %} {% block title %} Main page {% endblock %} {% block css_links %} {% endblock %} {% block content %} {% include "navbar.html" %}
{% if not question %}

No polls are available.

{% else %}
{% csrf_token %}

{{ question.question_text }}

{% if error_message %}

{{ error_message }}

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