{% extends 'home/base.html' %} {% load static %} {% block content %}

{{ current_poll.title }}

{{ current_poll.description }}

{% if current_poll.questions.all|length > 0 %}
{% for question in current_poll.questions.all %}
{% if question.type.label != 'Libre' %}
{% if question.possibilities.all|length > 0 %}
    {% for possibility in question.possibilities.all %}
  • {{ forloop.counter }} - {{ possibility.label }}
  • {% endfor %}
{% else %} {% endif %}
{% endif %}
{% endfor %}
{% else %} {% endif %}
{% endblock %} {% block js %} {% endblock %}