{% extends 'assignment/base_assignment.html' %} {% block title %}{{ block.super }} - {%trans "Poll" %} "{{ poll }}"{% endblock %} {% block content %}

{{ poll }}

{{ ballotnumber }}. {%trans "ballot" %}: {{options.count}} {% blocktrans count counter=options|length %}candidate{% plural %}candidates{% endblocktrans %}

{% trans "Short description" %}: {{ poll.description }}

-1 := {% trans 'majority' %}, -2 := {% trans 'undocumented' %}
{% csrf_token %} {% if poll.optiondecision %} {% else %} {% endif %} {% for option in options %} {% if poll.optiondecision %} {% else %} {% endif %} {% endfor %}
{%trans "Option" %}{%trans "Yes" %} {%trans "No" %} {%trans "Abstention" %}{%trans "Votes" %}
{{ option }}{{ option.form.yes.errors }}{{ option.form.yes }} {{ option.form.no.errors }}{{ option.form.no }} {{ option.form.undesided.errors }}{{ option.form.undesided }}{{ option.form.yes.errors }}{{ option.form.yes }}
{% trans "Invalid votes" %} {{ form.invalid.errors }}{{ form.invalid }}
{% trans "Votes cast" %} {{ form.votescast.errors }}{{ form.votescast }}

{%trans 'Print ballot' %}

{% endblock %}