aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/templates
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2020-07-15 12:31:18 +0200
committerGravatar Leon Sandøy <[email protected]>2020-07-15 12:31:18 +0200
commit0f99bf948b5d2a4fdd3a938ed8c5a6b628fe58d8 (patch)
tree77008b8fc0b0546b7a78f23d6ea77b2f1b948047 /pydis_site/templates
parentAdd the AllowList model and serializer. (diff)
parentMerge pull request #346 from python-discord/feat/deps/344/django-3.0 (diff)
Merge branch 'master' into whitelist_system
Diffstat (limited to 'pydis_site/templates')
-rw-r--r--pydis_site/templates/home/account/delete.html9
1 files changed, 6 insertions, 3 deletions
diff --git a/pydis_site/templates/home/account/delete.html b/pydis_site/templates/home/account/delete.html
index 1020a82b..0d44e32a 100644
--- a/pydis_site/templates/home/account/delete.html
+++ b/pydis_site/templates/home/account/delete.html
@@ -1,6 +1,4 @@
{% extends 'base/base.html' %}
-
-{% load crispy_forms_tags %}
{% load static %}
{% block title %}Delete Account{% endblock %}
@@ -36,7 +34,12 @@
<div class="columns is-centered">
<div class="column is-half-desktop is-full-tablet is-full-mobile">
- {% crispy form %}
+ <form method="post">
+ {% csrf_token %}
+ <label for="id_username" class="label requiredField">Username</label>
+ <input id="id_username" class="input" type="text" required name="username">
+ <input style="margin-top: 1em;" type="submit" value="I understand, delete my account" class="button is-primary">
+ </form>
</div>
</div>
</div>