Prettified the account deletion form.

This commit is contained in:
Johannes Erwerle 2026-10-03 09:14:22 +02:00
parent 535971333d
commit 40fa26e621

View file

@ -2,6 +2,9 @@
{% load crispy_forms_tags %}
{% block content %}
<h1>Delete your Account</h1>
<section class="section">
{% if next %}
{% if user.is_authenticated %}
@ -15,8 +18,9 @@
<form method="post" action="{% url 'delete' %}">
{% csrf_token %}
{{ form|crispy }}
<input class="button is-danger" type="submit" value="Delete Account">
<input type="hidden" name="next" value="{{ next }}">
<input class="button is-danger" type="submit" value="Delete Account">
<input type="hidden" name="next" value="{{ next }}">
</form>
</section>
{% endblock %}