diff options
author | Mike Chen <chagel@gmail.com> | 2009-07-05 10:23:06 +0800 |
---|---|---|
committer | Mike Chen <chagel@gmail.com> | 2009-07-05 10:23:06 +0800 |
commit | 2acb62174ab2cac9c7a88faafcb5f0a22a54db6f (patch) | |
tree | 93e9d22d6fb8a6c882e3915a8511a3ac542a1e67 /templates/authopenid/delete.html | |
download | askbot-2acb62174ab2cac9c7a88faafcb5f0a22a54db6f.tar.gz askbot-2acb62174ab2cac9c7a88faafcb5f0a22a54db6f.tar.bz2 askbot-2acb62174ab2cac9c7a88faafcb5f0a22a54db6f.zip |
initiliaze git rep
Diffstat (limited to 'templates/authopenid/delete.html')
-rw-r--r-- | templates/authopenid/delete.html | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/templates/authopenid/delete.html b/templates/authopenid/delete.html new file mode 100644 index 00000000..19e0884a --- /dev/null +++ b/templates/authopenid/delete.html @@ -0,0 +1,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 %} |