pytask/templates/registration/password_reset_form.html
changeset 532 1f08247a935c
parent 308 dca28aad6760
--- a/pytask/templates/registration/password_reset_form.html	Mon Jan 31 00:55:41 2011 +0530
+++ b/pytask/templates/registration/password_reset_form.html	Mon Jan 31 00:56:24 2011 +0530
@@ -1,5 +1,8 @@
 {% extends "base.html" %}
+
+
 {% load i18n %}
+{% load form_helpers %}
 
 {% block breadcrumbs %}<div class="breadcrumbs"><a href="../">{% trans 'Home' %}</a> &rsaquo; {% trans 'Password reset' %}</div>{% endblock %}
 
@@ -11,10 +14,6 @@
 
 <p>{% trans "Forgotten your password? Enter your e-mail address below, and we'll e-mail instructions for setting a new one." %}</p>
 
-<form action="" method="post">
-{% csrf_token %}
-{{ form.email.errors }}
-<p><label for="id_email">{% trans 'E-mail address:' %}</label> {{ form.email }} <input type="submit" value="{% trans 'Reset my password' %}" /></p>
-</form>
+{% as_div_form form "Password Reset Email" csrf_token "Email instructions" %}
 
 {% endblock %}