{% extends 'hidp/base_post_login.html' %} {% load i18n %} {% block title %}{% translate 'Change email address' %}{% endblock %} {% block main %}

{% translate 'Change email address' %}

{% if not can_change_email %}

{% translate 'Your account does not currently have a password set.' %}

{% translate 'Your password is required to verify your identity.' %}

{% translate 'To change your account email address, please set a password first.' %}

{% include 'hidp/includes/forms/submit_row.html' with submit_label=_('Set a password') cancel_url=cancel_url %}
{% else %}

{% translate 'Enter the email address you would like to use for your account.' %}

{% translate 'You will receive an email on both your current and the new email address with a link to confirm this change.' %}

{% csrf_token %} {{ form }} {% include 'hidp/includes/forms/submit_row.html' with submit_label=_('Save') cancel_url=cancel_url %}
{% endif %} {% endblock %}