{% load crispy_forms_tags %}

Eligible voters

{% if not voting_round.is_closed %} {% if "edadmin" in user_roles %}

Add new voter

{% crispy voter_add_form %}
Add senior fellows
{% comment %} If round is open and the viewer can vote, show the voting form {% endcomment %} {% elif session_fellowship and session_fellowship in voting_round.eligible_to_vote.all and voting_round.is_open %}
{% endif %} {% comment %} If round is closed show results if they exist {% endcomment %} {% else %}
{% include "colleges/_voting_results_box.html" with voting_round=voting_round %}
{% if voting_round.decision %}

Decision

{% if voting_round.decision.outcome == 'elected' %}
{{ voting_round.decision.get_outcome_display }}
{% elif voting_round.decision.outcome == 'notelected' %}
{{ voting_round.decision.get_outcome_display }}
{% endif %} {% if voting_round.decision.comments %}

Decision comments

{{ voting_round.decision.comments }} {% endif %} {% endif %}
{% endif %}
{% if "edadmin" in user_roles %} {% if not voting_round.is_closed %}
{% elif voting_round.is_closed and not voting_round.decision %}
{% endif %} {% endif %}