Mercurial > public > sg101
view gpp/templates/accounts/password_change.html @ 504:b5bd3509e6e6
Made some tweaks to the ajax login javascript.
Cleared the inputs on failure so someone won't repeatedly try a bad login.
Redirect on lockout so the page will refresh.
Set focus on the username box after failure for convenience.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 03 Dec 2011 16:25:15 +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 %}