project/templates/user/password.html
author Parth buch <parth.buch.115@gmail.com>
Sat, 01 Oct 2011 03:59:03 +0530
branch2011
changeset 429 cde70fd3073c
parent 149 7166c54218ef
permissions -rw-r--r--
changed the handler404 and handler500 to a custom view, passing scope to get proper formed urls when displaying 404 and 500 pages
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     1
{% extends "base.html" %}
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     2
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     3
{% block title %}Change Your Password{% endblock %}
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     4
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     5
{% block content %}
149
7166c54218ef Reformatted and reindented the code in the password template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 123
diff changeset
     6
  <h1>Change Your Password</h1>
1
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     7
    <p>
149
7166c54218ef Reformatted and reindented the code in the password template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 123
diff changeset
     8
      Please enter your old password, for security's sake, and then enter
7166c54218ef Reformatted and reindented the code in the password template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 123
diff changeset
     9
      your new password twice so we can verify you typed it in correctly.
1
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    10
    </p>
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    11
123
d4799b7159e4 Add scope for all the URLs and adjust the formatting and indentation.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 96
diff changeset
    12
    <form action="{% url scipycon_password params.scope %}"
149
7166c54218ef Reformatted and reindented the code in the password template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 123
diff changeset
    13
        method="post">
7166c54218ef Reformatted and reindented the code in the password template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 123
diff changeset
    14
      <table class="scipycon-default">
7166c54218ef Reformatted and reindented the code in the password template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 123
diff changeset
    15
        <tr>
7166c54218ef Reformatted and reindented the code in the password template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 123
diff changeset
    16
          <td class="label">
7166c54218ef Reformatted and reindented the code in the password template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 123
diff changeset
    17
            <label for="id_old_password">Old password:</label>
7166c54218ef Reformatted and reindented the code in the password template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 123
diff changeset
    18
          </td>
7166c54218ef Reformatted and reindented the code in the password template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 123
diff changeset
    19
          <td>
7166c54218ef Reformatted and reindented the code in the password template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 123
diff changeset
    20
            {{ form.old_password.errors }}
7166c54218ef Reformatted and reindented the code in the password template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 123
diff changeset
    21
            {{ form.old_password }}
7166c54218ef Reformatted and reindented the code in the password template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 123
diff changeset
    22
          </td>
7166c54218ef Reformatted and reindented the code in the password template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 123
diff changeset
    23
        </tr>
7166c54218ef Reformatted and reindented the code in the password template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 123
diff changeset
    24
        <tr>
7166c54218ef Reformatted and reindented the code in the password template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 123
diff changeset
    25
          <td class="label">
7166c54218ef Reformatted and reindented the code in the password template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 123
diff changeset
    26
            <label for="id_new_password1">New password:</label>
7166c54218ef Reformatted and reindented the code in the password template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 123
diff changeset
    27
          </td>
7166c54218ef Reformatted and reindented the code in the password template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 123
diff changeset
    28
          <td>
7166c54218ef Reformatted and reindented the code in the password template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 123
diff changeset
    29
            {{ form.new_password1.errors }}
7166c54218ef Reformatted and reindented the code in the password template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 123
diff changeset
    30
            {{ form.new_password1 }}
7166c54218ef Reformatted and reindented the code in the password template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 123
diff changeset
    31
          </td>
7166c54218ef Reformatted and reindented the code in the password template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 123
diff changeset
    32
        </tr>
7166c54218ef Reformatted and reindented the code in the password template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 123
diff changeset
    33
        <tr>
7166c54218ef Reformatted and reindented the code in the password template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 123
diff changeset
    34
          <td class="label">
7166c54218ef Reformatted and reindented the code in the password template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 123
diff changeset
    35
            <label for="id_new_password2">Confirm password:</label>
7166c54218ef Reformatted and reindented the code in the password template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 123
diff changeset
    36
          </td>
7166c54218ef Reformatted and reindented the code in the password template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 123
diff changeset
    37
          <td>
7166c54218ef Reformatted and reindented the code in the password template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 123
diff changeset
    38
            {{ form.new_password2.errors }}
7166c54218ef Reformatted and reindented the code in the password template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 123
diff changeset
    39
            {{ form.new_password2 }}
7166c54218ef Reformatted and reindented the code in the password template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 123
diff changeset
    40
          </td>
7166c54218ef Reformatted and reindented the code in the password template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 123
diff changeset
    41
        </tr>
7166c54218ef Reformatted and reindented the code in the password template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 123
diff changeset
    42
        <tr>
7166c54218ef Reformatted and reindented the code in the password template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 123
diff changeset
    43
          <td></td>
7166c54218ef Reformatted and reindented the code in the password template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 123
diff changeset
    44
          <td>
7166c54218ef Reformatted and reindented the code in the password template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 123
diff changeset
    45
            <input class="button left" type="submit" value="Change password" />
7166c54218ef Reformatted and reindented the code in the password template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 123
diff changeset
    46
          </td>
7166c54218ef Reformatted and reindented the code in the password template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 123
diff changeset
    47
        </tr>
7166c54218ef Reformatted and reindented the code in the password template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 123
diff changeset
    48
      </table>
7166c54218ef Reformatted and reindented the code in the password template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 123
diff changeset
    49
    </table>
7166c54218ef Reformatted and reindented the code in the password template.
Madhusudan.C.S <madhusudancs@gmail.com>
parents: 123
diff changeset
    50
  </form>
1
fda1c66b25f9 Added all the files from kiwipycon and the changes made for SciPy.in.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    51
{% endblock %}