Mercurial > public > sg101
comparison 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 |
comparison
equal
deleted
inserted
replaced
193:fa7d82bfb100 | 194:6a5549c2efb5 |
---|---|
1 {% extends 'base.html' %} | 1 {% extends 'base.html' %} |
2 {% block title %}Change Password{% endblock %} | 2 {% block title %}Change Password{% endblock %} |
3 {% block content %} | 3 {% block content %} |
4 <h2>Change Password</h2> | 4 <h2>Change Password</h2> |
5 <form method="post" action="."> | 5 <form method="post" action=".">{% csrf_token %} |
6 <table> | 6 <table> |
7 {{ form.as_table }} | 7 {{ form.as_table }} |
8 <tr><td> </td><td><input type="submit" value="Change Password" /> | 8 <tr><td> </td><td><input type="submit" value="Change Password" /> |
9 <a href="{% url bio-me %}">Cancel</a> | 9 <a href="{% url bio-me %}">Cancel</a> |
10 </td></tr> | 10 </td></tr> |