view gpp/templates/accounts/password_change.html @ 231:a2d388ed106e

Guard against the request object not having a user attribute in my Who's online middleware. This can happen if a redirect is issued before the authentication middleware gets to run.
author Brian Neal <bgneal@gmail.com>
date Wed, 14 Jul 2010 02:35:39 +0000
parents 6a5549c2efb5
children daa2916f5b34
line wrap: on
line source
{% extends 'base.html' %}
{% block title %}Change Password{% endblock %}
{% block content %}
<h2>Change Password</h2>
<form method="post" action=".">{% csrf_token %}
<table>
{{ form.as_table }}
<tr><td>&nbsp;</td><td><input type="submit" value="Change Password" />
      &nbsp;<a href="{% url bio-me %}">Cancel</a>
      </td></tr>
</table>
</form>
{% endblock %}