# HG changeset patch # User Nishanth Amuluru # Date 1294468890 -19800 # Node ID dca28aad67602af79bf4aad07cd37c34ac73e274 # Parent c6bca38c1cbf6b4f44b0fe881f45a1bb46a64aaa corrected the registration templates to suit new design diff -r c6bca38c1cbf -r dca28aad6760 pytask/templates/registration/logout.html --- a/pytask/templates/registration/logout.html Sat Jan 08 11:20:57 2011 +0530 +++ b/pytask/templates/registration/logout.html Sat Jan 08 12:11:30 2011 +0530 @@ -2,5 +2,4 @@ {% block content %} You have successfully logged out of PyTasks.

-Click here to go back to PyTask Homepage {% endblock %} diff -r c6bca38c1cbf -r dca28aad6760 pytask/templates/registration/password_change_form.html --- a/pytask/templates/registration/password_change_form.html Sat Jan 08 11:20:57 2011 +0530 +++ b/pytask/templates/registration/password_change_form.html Sat Jan 08 12:11:30 2011 +0530 @@ -12,7 +12,7 @@

{% trans "Please enter your old password, for security's sake, and then enter your new password twice so we can verify you typed it in correctly." %}

- +{% csrf_token %} {{ form.old_password.errors }}

{{ form.old_password }}

{{ form.new_password1.errors }} diff -r c6bca38c1cbf -r dca28aad6760 pytask/templates/registration/password_reset_confirm.html --- a/pytask/templates/registration/password_reset_confirm.html Sat Jan 08 11:20:57 2011 +0530 +++ b/pytask/templates/registration/password_reset_confirm.html Sat Jan 08 12:11:30 2011 +0530 @@ -14,6 +14,7 @@

{% trans "Please enter your new password twice so we can verify you typed it in correctly." %}

+{% csrf_token %} {{ form.new_password1.errors }}

{{ form.new_password1 }}

{{ form.new_password2.errors }} diff -r c6bca38c1cbf -r dca28aad6760 pytask/templates/registration/password_reset_form.html --- a/pytask/templates/registration/password_reset_form.html Sat Jan 08 11:20:57 2011 +0530 +++ b/pytask/templates/registration/password_reset_form.html Sat Jan 08 12:11:30 2011 +0530 @@ -12,6 +12,7 @@

{% trans "Forgotten your password? Enter your e-mail address below, and we'll e-mail instructions for setting a new one." %}

+{% csrf_token %} {{ form.email.errors }}

{{ form.email }}