{% extends "voters/electoralprocess_voting.html" %} {% load i18n form_tags voters_tags %} {% block title %}{%trans 'Step 4: Vote submission' %} - {{block.super}}{% endblock title %} {% block mainextraclass %}voting-step3-pin{% endblock mainextraclass %} {% block voting_steps %} {% trans 'Step 4: Vote submission' as tabtitle %} {% include 'voters/includes/voting_tabs.html' with title=object.electoral_process subtitle=object tab='step4' tabtitle=tabtitle only %}
{% if from_ama %} {% if validated %}

{% trans 'Please proceed with the vote submission.' %}

{% else %}

{% trans 'The authentication fails.' %}

{% endif %} {% else %}

{% trans 'Your vote will only be submitted after entering the voting code.' %}

{% csrf_token %}
{% prepare_field form.pin_validation %}
{% endif %}
{% if not from_ama or from_ama and validated %} {% endif %}
{% endblock voting_steps %}