community-backup/community_backup/webui/templates/delete.html

22 lines
571 B
HTML

{% extends "base.html" %}
{% load crispy_forms_tags %}
{% block content %}
{% if next %}
{% if user.is_authenticated %}
<p>Your account doesn't have access to this page. To proceed,
please login with an account that has access.</p>
{% else %}
<p>Please login to see this page.</p>
{% endif %}
{% endif %}
<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 }}">
</form>
{% endblock %}