{% extends 'vote/base.html' %} {% load crispy_forms_tags %} {% load static %} {% load vote_extras %} {% block content %}
{% csrf_token %}

{{ title }}

Voting Period: {{ voter.election.application_due_date|date:"D Y-m-d H:i:s" }} - {{ voter.election.end_date|date:"D Y-m-d H:i:s" }} (UTC{{ voter.election.end_date|date:"O" }})

{% if form.non_field_errors %}
    {% for error in form.non_field_errors %}
  • {{ error|escape }}
  • {% endfor %}
{% endif %} {% if form.visible_fields %}
Voting Procedure
Elected are those candidates who:
  1. received more YES than NO votes and
  2. are among the {{ max_votes_yes }} remaining candidates with the most votes.
You may give up to {{ max_votes_yes }} YES votes.
NO votes should only be used if you are explicitly against a candidate.
The display order of the applicants is randomized.
Your vote is anonymous.
{% if max_votes_yes > 1 and max_votes_yes >= form.num_applications %}
{% endif %} {% for field in form.visible_fields|shuffle %} {% for radio in field %} {% endfor %} {% endfor %}
Applicant (Room) Abstention YES NO*
{% if field.application.avatar %} applicant-picture {% else %} applicant-picture {% endif %}
{{ field.label|escape }}

{{ field.application.text|escape }}

Up to {{ max_votes_yes }}

{% else %}
:(
Unfortunately there were no applicants for your house.
Contact vorstand@stustanet.de if you're interested.
{% endif %}
{% endblock %} {% block footer_scripts %} {{ block.super }} {% endblock %}