{% extends "authentic2/base-page.html" %}
{% load i18n gadjo %}

{% block page-title %}
  {{ block.super }} - {{ view.title }}
{% endblock %}

{% block breadcrumb %}
 {{ block.super }}
 <a href="..">{% trans "Your account" %}</a>
 <a href="">{{ view.title }}</a>
{% endblock %}

{% block content %}
  <p>{% blocktrans with email=user.email %}Your current email is {{ email }}.
  An email will be sent to validate the new one.{% endblocktrans %}</p>
  <form method="post" class="pk-mark-optional-fields">
    {% csrf_token %}
    {{ form|with_template }}
    <button class="submit-button">{% trans "Validate" %}</button>
    <button class="cancel-button" name="cancel" formnovalidate>{% trans "Cancel" %}</button>
  </form>
{% endblock %}
