add django-user-accounts
This commit is contained in:
19
templates/account/delete.html
Normal file
19
templates/account/delete.html
Normal file
@ -0,0 +1,19 @@
|
||||
{% extends "account/base.html" %}
|
||||
|
||||
{% load i18n %}
|
||||
|
||||
{% block content_class %}account account-delete{% endblock %}
|
||||
|
||||
{% block title %}{% trans "Delete Account" %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1>{% trans "Delete Account" %}</h1>
|
||||
|
||||
<p>{% blocktrans %}If you go ahead and delete your account, your information will be <b>expunged within {{ ACCOUNT_DELETION_EXPUNGE_HOURS }} hours</b>.{% endblocktrans %}</p>
|
||||
|
||||
<form method="post" action="{% url "account_delete" %}" autocapitalize="off">
|
||||
{% csrf_token %}
|
||||
<button type="submit" class="btn btn-danger">{% trans "Delete My Account" %}</button>
|
||||
</form>
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user