{% extends 'assignment/base_assignment.html' %} {% load i18n %} {% block title %}{{ block.super }} - {%trans "Election" %} "{{ assignment }}"{% endblock %} {% block content %}

{%trans "Election" %}: {{ assignment }}

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

{% if assignment.polldescription %}

{% trans "Short description" %}: {{ assignment.polldescription }}

{% endif %} {% trans "Special values" %}: -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 }}

{% endblock %}