aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/templates
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2020-07-15 00:06:25 +0200
committerGravatar Leon Sandøy <[email protected]>2020-07-15 00:06:25 +0200
commit11503b660d2a4249edde02a50889ebae270f07f4 (patch)
tree084e669334711b8d25776996fda71af9c7ef3219 /pydis_site/templates
parentRemoves django_crispy_bulma dependency. (diff)
Removes django_crispy_forms dependency, too.
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>