gdpr user delete and user deactivate functions
This commit is contained in:
22
rowers/templates/userprofile_delete.html
Normal file
22
rowers/templates/userprofile_delete.html
Normal file
@@ -0,0 +1,22 @@
|
||||
{% extends "base.html" %}
|
||||
{% load staticfiles %}
|
||||
{% load rowerfilters %}
|
||||
|
||||
{% block title %}Delete your account{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="grid_12">
|
||||
<h2>Delete your account</h2>
|
||||
<hr>
|
||||
<p><b>Warning: This will remove your account and all your data.
|
||||
You will not be able to recover from this action. We cannot restore
|
||||
your account</b></p>
|
||||
<form method="POST" class="padding">{% csrf_token %}
|
||||
{{ user_form.as_p}}
|
||||
{% csrf_token %}
|
||||
<button class="btn btn-primary" type="submit" name="action">Confirm</button>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user