summaryrefslogtreecommitdiffstats
path: root/templates/authopenid/delete.html
blob: 19e0884ab5ee26763e5c4013360e67ebf45b40db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{% extends "base.html" %}
{% load i18n %}


{% block content %}
<div id="main-bar" class="">
    <h3>
        {% trans "Account: delete account" %}
    </h3>
</div>

<p class="settings-descr">{% blocktrans %}Note: After deleting your account, anyone will be able to register this username.{% endblocktrans %}</p>
{% if form.errors %}
<p class="errors">{% trans "Please correct errors below:" %}<br />
	{% if form.confirm.errors %} 
    <span class="error">{% trans "Check confirm box, if you want delete your account." %}</span><br />
	{% endif %}
	{% if form.password.errors %} 
    <span class="error">{% trans "Password:" %} {{ form.password.errors|join:", " }}</span>
	{% endif %}
</p>
{% endif %}
{% if msg %}
<p class="errors">{% trans "Please correct errors below:" %}<br />
    <span class="error">{{ msg }}</span>
    </p>
{% endif %}
<div class="aligned">
	<form action="." method="post" accept-charset="utf-8">

        <div id="form-row"> {{ form.confirm }} {% trans "I am sure I want to delete my account." %}</div>
        <div id="form-row"><label for="id_password">{% trans "Password/OpenID URL" %}</label>{{ form.password }} {% trans "(required for your security)" %}</div>

        <p><input type="submit" value="{% trans "Delete account permanently" %}"></p>

	</form>
	</div>
{% endblock %}