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

{{ title }}

Voting Period: {{ election.application_due_date|date:"D Y-m-d H:i:s" }} - {{ election.end_date|date:"D Y-m-d H:i:s" }} (UTC{{ 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 %}
Instruction
{% if max_votes_yes > 1 %}You may give up to {{ max_votes_yes }} YES votes.
{% endif %} NO votes should only be used if you are explicitly against {% if election.voters_self_apply %}a candidate{% else %}an option{% endif %}.
The display order of the {% if election.voters_self_apply %}applicants{% else %} options{% endif %} is randomized.
Your vote is anonymous.
{% if max_votes_yes > 1 and max_votes_yes >= form.num_applications %}
{% endif %} {% if not election.disable_abstention %} {% endif %} {% for field in form.visible_fields|shuffle %} {% for radio in field %} {% endfor %} {% endfor %}
{% if election.voters_self_apply %}Applicant{% else %}Option{% endif %}AbstentionYES NO*
{% if field.application.avatar %}
applicant-picture
{% endif %}
{{ field.label|escape }}

{{ field.application.text|escape }}

Up to {{ max_votes_yes }}

{% else %}
:(
Unfortunately there were no applicants.
{% endif %}
{% else %}
Already voted
{% endif %}
{% endblock %} {% block footer_scripts %} {% endblock %}