Coverage for ivatar/ivataraccount/templates/delete.html: 100%
28 statements
« prev ^ index » next coverage.py v7.6.9, created at 2024-12-26 00:11 +0000
« prev ^ index » next coverage.py v7.6.9, created at 2024-12-26 00:11 +0000
1{% extends 'base.html' %}
2{% load i18n %}
3{% load static %}
5{% block title %}{% trans 'Delete your Libravatar account' %}{% endblock title %}
7{% block content %}
9<h1>{% trans 'Delete your account' %}</h1>
11<p><strong>{% trans 'There is no way to undo this operation.' %}</strong></p>
13<form method="post" name="deleteaccount" id="form-deleteaccount">{% csrf_token %}
15{% if user.password %}
16<p>{% trans 'Please confirm your identity by entering your current password.' %}</p>
18{{ form.password.errors }}
19<div class="form-group" style='max-width:300px;'>
20<label for="id_password">{% trans 'Password' %}:</label>
21<input type="password" name="password" autofocus required class="form-control" id="id_password">
22</div>
24{% endif %}
26<p>{% trans 'Are you sure you want to <strong>permanently delete</strong> your Libravatar account?' %}</p>
28<button type="submit" class="btn btn-danger">{% trans 'Yes, delete all of my stuff' %}</button>
29
30<button type="cancel" class="button" href="{% url 'profile' %}">{% trans 'Cancel' %}</button>
32</form>
34<div style="height:40px"></div>
35{% endblock content %}