Final cleanup, formset was actually supposed to be fieldset.

This commit is contained in:
2011-12-04 19:23:25 +00:00
parent 8ad4634fe7
commit e2223f6702
21 changed files with 97 additions and 92 deletions

View File

@@ -1,11 +1,17 @@
{% extends "registration/registration_base.html" %}
{% block title %}Change password{% endblock %}
{% block content %}
<div class="page-header">
<h1>Change Password</h1>
</div>
<form method='post' action=''>
<table>
{{ form }}
</table>
<input type='submit' value="Change password" />
{% csrf_token %}
<fieldset>
{% include "formtools/formfield.html" with field=form.old_password %}
{% include "formtools/formfield.html" with field=form.new_password1 %}
{% include "formtools/formfield.html" with field=form.new_password2 %}
{% csrf_token %}
<input type='submit' value="Change password" class="btn primary"/>
</fieldset>
</form>
{% endblock %}