comparison gpp/templates/accounts/password_change.html @ 310:daa2916f5b34

Fixing 145; New url tag behavior (forwards compatibility) in Django 1.3.
author Brian Neal <bgneal@gmail.com>
date Thu, 20 Jan 2011 04:03:48 +0000
parents 6a5549c2efb5
children
comparison
equal deleted inserted replaced
309:8a0bae48b6ca 310:daa2916f5b34
1 {% extends 'base.html' %} 1 {% extends 'base.html' %}
2 {% load url from future %}
2 {% block title %}Change Password{% endblock %} 3 {% block title %}Change Password{% endblock %}
3 {% block content %} 4 {% block content %}
4 <h2>Change Password</h2> 5 <h2>Change Password</h2>
5 <form method="post" action=".">{% csrf_token %} 6 <form method="post" action=".">{% csrf_token %}
6 <table> 7 <table>
7 {{ form.as_table }} 8 {{ form.as_table }}
8 <tr><td>&nbsp;</td><td><input type="submit" value="Change Password" /> 9 <tr><td>&nbsp;</td><td><input type="submit" value="Change Password" />
9 &nbsp;<a href="{% url bio-me %}">Cancel</a> 10 &nbsp;<a href="{% url 'bio-me' %}">Cancel</a>
10 </td></tr> 11 </td></tr>
11 </table> 12 </table>
12 </form> 13 </form>
13 {% endblock %} 14 {% endblock %}