{% extends "base.html" %} {% load i18n %} {% block title %}nuages - {{object}}{% endblock %} {% block chapeau %}

{{object}}

{{object.description}}
{% trans "Posted by" %} {{object.author}} on {{object.pub_date}}. {% trans "Shared address" %}:

{% endblock %} {% block content %} {% if object %}
{% for choice in object.choice_set.all %} {% endfor %} {% for bulletin in object.bulletin_set.all %} {% for vote in bulletin.vote_set.all %} {% endfor %} {% endfor %} {% for choice in object.choice_set.all %} {% endfor %}
{{ choice.choice }}
{% trans "Point colums to see choice details and comments" %}
{{ bulletin.voter }}
{% if vote.comment %} ° {% endif %}
{{ choice.votecount }}
{% for forms in vforms %} {{ vforms.management_form }} {% for form in forms %} {% endfor %} {% endfor %}
{{ form.management_form }} {{ form.voter }} {% for hidden in form.hidden_fields %}{{ hidden }}{% endfor %} {{ form.voice }} {{ form.comment }}
{{ form.choice }} {{ form.voter }} {% for hidden in form.hidden_fields %}{{ hidden }}{% endfor %}
{{ field.errors }}
{% trans "Check the boxes for positive answers, you may provide a comment for each choice" %}
{% else %}

Poll not available.

{% endif %} {% endblock %} {% block helper %} {% for choice in object.choice_set.all %}

{{ choice }}
{{ choice.details }}
{% for bulletin in object.bulletin_set.all %} {% for vote in bulletin.vote_set.all %} {% ifequal choice vote.choice %} {% if vote.comment %}
{{ bulletin.voter }}: {{ vote.comment }}   {% endif %} {% endifequal %} {% endfor %} {% endfor %}

{% endfor %} {% endblock %}