view gpp/templates/accounts/password_change.html @ 97:96eec1ed0fd3

Render the forum page navigation in the view with render_to_string() to avoid doing it twice in the template code. Also undo a mistake in the last commit. Need 2 different orderings for Post objects: by creation date in normal views, and by reverse creation date in the admin.
author Brian Neal <bgneal@gmail.com>
date Sun, 13 Sep 2009 19:58:31 +0000 (2009-09-13)
parents 9a8801fa63d5
children 6a5549c2efb5
line wrap: on
line source
{% extends 'base.html' %}
{% block title %}Change Password{% endblock %}
{% block content %}
<h2>Change Password</h2>
<form method="post" action=".">
<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 %}