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

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

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


{% block content %}
<form method="post">
  {% csrf_token %}
  <p>
  {% blocktrans with full_name=user.get_full_name %}
  You are about to delete the account of <strong>{{ full_name }}</strong>.
  This will remove all related personal data and you won't be able to log in with this account anymore.
  {% endblocktrans %}
  </p>
  <button class="delete-button" name="delete">{% trans "Confirm deletion" %}</button>
  <button class="cancel-button" name="cancel" formnovalidate>{% trans "Cancel" %}</button>
</form>
{% endblock %}
