project/templates/user/password.html
changeset 1 fda1c66b25f9
equal deleted inserted replaced
0:9a77edda77b7 1:fda1c66b25f9
       
     1 {% extends "base.html" %}
       
     2 
       
     3 {% block title %}Change Your Password{% endblock %}
       
     4 
       
     5 
       
     6 {% block content %}
       
     7 
       
     8     <h1>Change Your Password</h1>
       
     9 
       
    10     <p>
       
    11         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.
       
    12     </p>
       
    13 
       
    14     <form action="{% url kiwipycon_password %}" 
       
    15           method="post">
       
    16             <table class="kiwipycon-default">
       
    17                 <tr>
       
    18                     <td class="label">
       
    19                         <label for="id_old_password">Old password:</label>
       
    20                     </td>
       
    21                     <td>
       
    22                         {{ form.old_password.errors }}                        
       
    23                         {{ form.old_password }}
       
    24                     </td>
       
    25                 </tr>
       
    26                 <tr>
       
    27                     <td class="label">
       
    28                         <label for="id_new_password1">New password:</label>
       
    29                     </td>
       
    30                     <td>
       
    31                         {{ form.new_password1.errors }}
       
    32                         {{ form.new_password1 }}
       
    33                     </td>
       
    34                 </tr>
       
    35                 <tr>
       
    36                     <td class="label">
       
    37                         <label for="id_new_password2">Confirm password:</label>
       
    38                     </td>
       
    39                     <td>
       
    40                         {{ form.new_password2.errors }}
       
    41                         {{ form.new_password2 }}
       
    42                     </td>
       
    43                 </tr>
       
    44                 <tr>
       
    45                     <td></td>
       
    46                     <td>
       
    47                         <input class="button left" type="submit" value="Change password" />
       
    48                     </td>                    
       
    49                 </tr>
       
    50             </table>
       
    51         
       
    52         </table>  
       
    53     </form>
       
    54 
       
    55 {% endblock %}
       
    56