{% extends "base.html" %} {% load i18n %} {% block content %}

{{poll_type_name}} - {{poll_name}}

{% if error %}

{{ error }}

{% endif %}

{{poll_desc}}

{% for choice in choices %} {% endfor %} {% for voter in voters %} {% ifequal current_voter_id voter.id %} {% for vote in voter.votes %}{%endfor%} {%else%} {% for vote in voter.votes %} {%endfor%} {%endifequal%} {%endfor%} {%if not current_voter_id%} {%for choice in choices%}{%endfor%} {%endif%} {% for choice in choices %} {% endfor %}
{{choice.name}}{% if choice.limit %} ({% trans "max" %} {{choice.limit}}){%endif%}
{% if vote.choice.available or vote.value %} {% ifequal poll_type 'P' %} {% endifequal %} {% ifequal poll_type 'O' %} {% endifequal %} {% ifequal poll_type 'B' %} {% endifequal %} {% else %} {% trans "Limit reached" %} {% endif %} {% trans "Edit" %} {{voter.user.name}} {%ifequal poll_type 'B'%} {%for VOT in VOTE%} {%ifequal VOT.0 vote.value%}{{VOT.1.1}}{%endifequal%}{%endfor%} {%else%} {%for VOT in VOTE%} {%ifequal VOT.0 vote.value%}{{VOT.1.0}}{%endifequal%}{%endfor%} {%endifequal%}
{% if choice.available %} {% ifequal poll_type 'P' %} {% endifequal %} {% ifequal poll_type 'O' %} {% endifequal %} {% ifequal poll_type 'B' %} {% endifequal %} {% else %} {% trans "Limit reached" %} {% endif %}
{% trans "Sum" %}{{choice.sum}}

{% trans "Remain informed of poll evolution:" %} {%trans "Syndication"%}
{% endblock %}