diff options
author | Madhusudan.C.S | 2010-07-22 14:44:57 +0530 |
---|---|---|
committer | Madhusudan.C.S | 2010-07-22 14:44:57 +0530 |
commit | 77d94017a25481edd57ebc25a3df54bb28012d66 (patch) | |
tree | 79a290e1b8a00758a459f9fe04c0008e3cc3a779 /project/templates/user/password.html | |
parent | 5e6c41e1505e6053aa15bfe46e495ec1aada5e2d (diff) | |
download | scipycon-77d94017a25481edd57ebc25a3df54bb28012d66.tar.gz scipycon-77d94017a25481edd57ebc25a3df54bb28012d66.tar.bz2 scipycon-77d94017a25481edd57ebc25a3df54bb28012d66.zip |
Reformatted and reindented the code in the password template.
Diffstat (limited to 'project/templates/user/password.html')
-rw-r--r-- | project/templates/user/password.html | 86 |
1 files changed, 41 insertions, 45 deletions
diff --git a/project/templates/user/password.html b/project/templates/user/password.html index 9119b42..cc805cd 100644 --- a/project/templates/user/password.html +++ b/project/templates/user/password.html @@ -2,54 +2,50 @@ {% block title %}Change Your Password{% endblock %} - {% block content %} - - <h1>Change Your Password</h1> - + <h1>Change Your Password</h1> <p> - 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. + 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. </p> <form action="{% url scipycon_password params.scope %}" - method="post"> - <table class="scipycon-default"> - <tr> - <td class="label"> - <label for="id_old_password">Old password:</label> - </td> - <td> - {{ form.old_password.errors }} - {{ form.old_password }} - </td> - </tr> - <tr> - <td class="label"> - <label for="id_new_password1">New password:</label> - </td> - <td> - {{ form.new_password1.errors }} - {{ form.new_password1 }} - </td> - </tr> - <tr> - <td class="label"> - <label for="id_new_password2">Confirm password:</label> - </td> - <td> - {{ form.new_password2.errors }} - {{ form.new_password2 }} - </td> - </tr> - <tr> - <td></td> - <td> - <input class="button left" type="submit" value="Change password" /> - </td> - </tr> - </table> - - </table> - </form> - + method="post"> + <table class="scipycon-default"> + <tr> + <td class="label"> + <label for="id_old_password">Old password:</label> + </td> + <td> + {{ form.old_password.errors }} + {{ form.old_password }} + </td> + </tr> + <tr> + <td class="label"> + <label for="id_new_password1">New password:</label> + </td> + <td> + {{ form.new_password1.errors }} + {{ form.new_password1 }} + </td> + </tr> + <tr> + <td class="label"> + <label for="id_new_password2">Confirm password:</label> + </td> + <td> + {{ form.new_password2.errors }} + {{ form.new_password2 }} + </td> + </tr> + <tr> + <td></td> + <td> + <input class="button left" type="submit" value="Change password" /> + </td> + </tr> + </table> + </table> + </form> {% endblock %} |