project/templates/user/password.html
changeset 1 fda1c66b25f9
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/project/templates/user/password.html	Fri Oct 30 15:09:12 2009 +0530
@@ -0,0 +1,56 @@
+{% extends "base.html" %}
+
+{% block title %}Change Your Password{% endblock %}
+
+
+{% block content %}
+
+    <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.
+    </p>
+
+    <form action="{% url kiwipycon_password %}" 
+          method="post">
+            <table class="kiwipycon-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 %}
+