summaryrefslogtreecommitdiff
path: root/project/templates/user/password.html
blob: db9b8909a481b6aab42fb4c924e2e891bca69eb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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 scipycon_password %}" 
          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 %}