diff options
author | 2019-10-22 16:00:16 +0100 | |
---|---|---|
committer | 2019-10-22 16:00:16 +0100 | |
commit | 6cc062d88e7b70a61d52e6eab633de57c4114cb2 (patch) | |
tree | bd079215e71efd8fca50021f42c33f08a3e5c95c /pydis_site/templates/home | |
parent | Merge branch 'master' into allauth-user-settings (diff) |
Implement account deletion at /accounts/delete
Diffstat (limited to 'pydis_site/templates/home')
-rw-r--r-- | pydis_site/templates/home/account/delete.html | 34 |
1 files changed, 33 insertions, 1 deletions
diff --git a/pydis_site/templates/home/account/delete.html b/pydis_site/templates/home/account/delete.html index 8d68a0e3..1020a82b 100644 --- a/pydis_site/templates/home/account/delete.html +++ b/pydis_site/templates/home/account/delete.html @@ -1,4 +1,6 @@ {% extends 'base/base.html' %} + +{% load crispy_forms_tags %} {% load static %} {% block title %}Delete Account{% endblock %} @@ -6,7 +8,37 @@ {% block content %} {% include "base/navbar.html" %} - <section class="section"> + <section class="section content"> + <div class="container"> + <h2 class="is-size-2 has-text-centered">Account Deletion</h2> + + <div class="columns is-centered"> + <div class="column is-half-desktop is-full-tablet is-full-mobile"> + + <article class="message is-danger"> + <div class="message-body"> + <p> + You have requested to delete the account with username + <strong><span class="has-text-dark is-family-monospace">{{ user.username }}</span></strong>. + </p> + + <p> + Please note that this <strong>cannot be undone</strong>. + </p> + + <p> + To verify that you'd like to remove your account, please type your username into the box below. + </p> + </div> + </article> + </div> + </div> + <div class="columns is-centered"> + <div class="column is-half-desktop is-full-tablet is-full-mobile"> + {% crispy form %} + </div> + </div> + </div> </section> {% endblock %} |