{% extends TEMPLATE_BASE %} {% block title %}Confirm Vote{% endblock %} {% block content %}

{{election.name}} — Submit your Vote

We have received, but not yet recorded, your encrypted ballot.
Your smart ballot tracker is:

{{vote_fingerprint}}

{% if voter %} {% include "_castconfirm_docast.html" %} {% else %} {% if show_password %} {% include "_castconfirm_password.html" %} {% else %} {% if user %}

{% if election.openreg %} Sorry, you are not eligible for this election.
{% else %} Sorry, you are not registered for this election, and registration is closed.
{% endif %}

[return to the main election page]

{% else %}

Now, we need you to log in, so we can verify your eligibility.

{% if election.openreg %} {% if election.eligibility %} {% else %} This election is open to anyone, so log in with your preferred account. {% endif %} {% else %} This election is only open to registered voters, so log in with the same account you registered with. {% endif %}

{{login_box|safe}}
Don't worry, we'll remember your ballot while you log in. {% endif %} {% endif %} {# this closes the IF ELSE of this being password_only #} {% endif %} {% endblock %}