summaryrefslogtreecommitdiffstats
path: root/templates/authopenid/changepw.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/authopenid/changepw.html')
-rw-r--r--templates/authopenid/changepw.html33
1 files changed, 8 insertions, 25 deletions
diff --git a/templates/authopenid/changepw.html b/templates/authopenid/changepw.html
index 0e90b172..8b059544 100644
--- a/templates/authopenid/changepw.html
+++ b/templates/authopenid/changepw.html
@@ -1,34 +1,17 @@
{% extends "base.html" %}
<!-- changepw.html -->
{% load i18n %}
-
-{% block head %}
-
-{% endblock %}
-
-
-
+{% block head %}{% endblock %}
+{% block title %}{% spaceless %}{% trans "Change password" %}{% endspaceless %}{% endblock %}
{% block content %}
-<div id="main-bar" class="">
- <h3>
- {% trans "Account: change password" %}
- </h3>
-</div>
-<p>{% blocktrans %}This is where you can change your password. Make sure you remember it!{% endblocktrans %}</p>
-{% if form.errors %}
-<p class="errors">{% trans "Please correct errors below:" %}<br />
-{{ form.errors }}
-</p>
-{% endif %}
-
+<div class="headNormal">{% trans "Account: change password" %}</div>
+<p class="message">{% blocktrans %}This is where you can change your password. Make sure you remember it!{% endblocktrans %}</p>
<div class="aligned">
<form action="." method="post" accept-charset="utf-8">
-
- <div id="form-row"><label for="id_oldpw">{% trans "Current password" %}</label>{{ form.oldpw }}</div>
- <div id="form-row"><label for="id_password1">{% trans "New password" %}</label>{{ form.password1 }}</div>
- <div id="form-row"><label for="id_password2">{% trans "New password again" %}</label>{{ form.password2 }}</div>
- <p><input type="submit" value="{% trans "Change password" %}"></p>
-
+ <ul id="changepw-form" class="form-horizontal-rows">
+ {{form.as_ul}}
+ </ul>
+ <div class="submit-row"><input type="submit" class="submit" value="{% trans "Change password" %}" /></div>
</form>
</div>
{% endblock %}