{% extends 'management/base.html' %} {% block content %}

{{ election.title }}

{% if not election.closed %}
Abstimmung noch offen
Wahlzeitraum: {{ election.application_due_date }} - {{ election.end_date }}
{% else %} {% for application in applications %} {% if forloop.counter == election.max_votes_yes %} {% endif %} {% endfor %}
# Bewerber Für Gegen Enthaltung
{{ forloop.counter }} {{ application.first_name }} {{ application.last_name }} {{ application.votes_accept }} {{ application.votes_reject }} {{ application.votes_abstention }}
Maximale Anzahl von {{ election.max_votes_yes }} Bewerbern gewählt
{% endif %}
{% endblock %}