Mercurial > public > sg101
view gpp/templates/accounts/password_change.html @ 322:c3d3d7114749
Fix #148; Django now requires AJAX posts to present the CSRF token. Added code suggested by Django docs to shoutbox.js. Since shoutbox.js is on every page, it should cover all cases.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 12 Feb 2011 21:37:17 +0000 |
parents | daa2916f5b34 |
children |
line wrap: on
line source
{% extends 'base.html' %} {% load url from future %} {% block title %}Change Password{% endblock %} {% block content %} <h2>Change Password</h2> <form method="post" action=".">{% csrf_token %} <table> {{ form.as_table }} <tr><td> </td><td><input type="submit" value="Change Password" /> <a href="{% url 'bio-me' %}">Cancel</a> </td></tr> </table> </form> {% endblock %}