{% if confirmation %} {% if can_confirm %}
{% csrf_token %}
{% include 'account/components/headers.html' with header="Confirm your email" subheader="Please confirm your email below." %}
{% include 'account/components/redirect_field.html' with redirect_field_name=redirect_field_name redirect_field_value=redirect_field_value %}
{% include 'account/components/submit_button.html' with action="Confirm email" %}
{% else %}
{% include 'account/components/headers.html' with header="Confirm your email" subheader="This email cannot be confirmed as it is already confirmed by a different account." %}
{% endif %} {% else %}
{% include 'account/components/headers.html' with header="Confirm your email" subheader="This link is invalid or too old. Get a new link " url_path="account_email" url_text="here." %}
{% endif %}