summaryrefslogtreecommitdiffstats
path: root/templates/authopenid/sendpw.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/authopenid/sendpw.html')
-rw-r--r--templates/authopenid/sendpw.html30
1 files changed, 10 insertions, 20 deletions
diff --git a/templates/authopenid/sendpw.html b/templates/authopenid/sendpw.html
index 37091261..6241c811 100644
--- a/templates/authopenid/sendpw.html
+++ b/templates/authopenid/sendpw.html
@@ -2,35 +2,25 @@
<!-- sendpw.html -->
{% load i18n %}
{% block title %}{% spaceless %}{% trans "Send new password" %}{% endspaceless %}{% endblock %}
-
{% block content %}
-<div id="main-bar" class="">
- <h3>{% trans "Send new password" %}</h3>
-
-</div>
-<div class="paragraph">
-{% trans "Lost your password? No problem - here you can reset it." %}<br/>
-{% trans "Please enter your username below and new password will be sent to your registered e-mail" %}
+<div class="headNormal">
+ {% trans "Send new password" %}
</div>
-{% if form.errors %}
-<p class="errors"><span class="big">{% trans "Sorry, looks like we have some errors:" %}</span><br/>
- {% if form.username.errors %}
- <span class="error">{{ form.username.errors|join:", " }}</span>
- {% endif %}
+<p class="message">
+{% trans "password recovery information" %}
</p>
-{% endif %}
{% if msg %}
- <div class="paragraph error">{{ msg }}</div>
+ <p class="action-status"><span>{{msg}}</span><p>
{% endif %}
<div class="aligned">
<form action="." method="post" accept-charset="utf-8">
- <div id="form-row"><label for="id_username">{% trans "User name" %}:</label>{{ form.username }}</div>
-
- <p style="padding-top:10px"><input type="submit" value="{% trans "Reset password" %}"> <a href="{% url user_signin %}">{% trans "return to login" %}</a></p>
-
+ <ul id="emailpw-form" class="form-horizontal-rows">
+ {{form.as_ul}}
+ </ul>
+ <p style="padding-top:10px"><input type="submit" class="submit" value="{% trans "Reset password" %}" />
+ <a href="{% url user_signin %}"><span class="strong">{% trans "return to login" %}</span></a></p>
</form>
- <span class="darkred">{% trans "Note: your new password will be activated only after you click the activation link in the email message" %}</span>
</div>
{% endblock %}
<!-- end sendpw.html -->