{% extends 'assignment/base_assignment.html' %} {% load i18n %} {% 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 %} {% for value in poll.get_vote_values %} {% endfor %} {% for form in forms %} {% for value in form %} {% endfor %} {% endfor %}
Option{{ value }}
{{ form.option }} {{ value.errors }} {{ value }}
{% trans "Invalid votes" %} {{ pollform.votesinvalid.errors }}{{ pollform.votesinvalid }}
{% trans "Votes cast" %} {{ pollform.votescast.errors }}{{ pollform.votescast }}

{%trans 'Print ballot' %}

{% endblock %}