Mercurial > public > sg101
annotate gpp/templates/accounts/password_change.html @ 194:6a5549c2efb5
Implement #62, add support for CSRF protection.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 03 Apr 2010 20:00:56 +0000 |
parents | 9a8801fa63d5 |
children | daa2916f5b34 |
rev | line source |
---|---|
gremmie@1 | 1 {% extends 'base.html' %} |
gremmie@1 | 2 {% block title %}Change Password{% endblock %} |
gremmie@1 | 3 {% block content %} |
gremmie@1 | 4 <h2>Change Password</h2> |
bgneal@194 | 5 <form method="post" action=".">{% csrf_token %} |
gremmie@1 | 6 <table> |
gremmie@1 | 7 {{ form.as_table }} |
gremmie@1 | 8 <tr><td> </td><td><input type="submit" value="Change Password" /> |
bgneal@4 | 9 <a href="{% url bio-me %}">Cancel</a> |
bgneal@4 | 10 </td></tr> |
gremmie@1 | 11 </table> |
gremmie@1 | 12 </form> |
gremmie@1 | 13 {% endblock %} |