authentic/src/authentic2/templates/authentic2/accounts_delete_request.html

37 lines
1.1 KiB
HTML

{% 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 trimmed %}
Do you really want to delete your account?
{% endblocktrans %}
</p>
{% if user.email_verified %}
<p>
{% blocktrans trimmed %}
A validation message will be sent to {{ email }}. You will have to visit the
link in this email in order to complete the deletion process.
{% endblocktrans %}
</p>
{% endif %}
<div class="buttons">
<button class="submit-button" name="submit">{% if user.email_verified %}{% trans "Send message" %}{% else %}{% trans "Delete account" %}{% endif %}</button>
<button class="cancel-button" name="cancel" formnovalidate>{% trans "Cancel" %}</button>
</div>
</form>
{% endblock %}