view gpp/templates/accounts/password_reset.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 6a5549c2efb5
children fc2feaa98c58
line wrap: on
line source
{% extends 'base.html' %}
{% block title %}Reset Password{% endblock %}
{% block content %}
<h2>Reset Password</h2>
<p>Forgot your password? No problem. Just enter your email address and we will
email you instructions on how to reset it. 
</p>
<form method="post" action=".">{% csrf_token %}
<table>
{{ form.as_table }}
<tr><td>&nbsp;</td><td><input type="submit" value="Reset Password" />
      </td></tr>
</table>
</form>
{% endblock %}