changeset 435 | 1217d808d70f |
parent 307 | c6bca38c1cbf |
child 480 | d0325456f266 |
--- a/pytask/templates/profile/edit.html Mon Jan 17 02:52:42 2011 +0530 +++ b/pytask/templates/profile/edit.html Mon Jan 17 02:53:11 2011 +0530 @@ -1,8 +1,7 @@ -{% extends 'base.html' %} +{% extends "base.html" %} + +{% load form_helpers %} + {% block content %} -<form action='' method=post> -{% csrf_token %} -{{ form.as_p }} -<input type=submit value=Update /> -</form> + {% as_div_form form "Edit Profile Form" csrf_token "Update" %} {% endblock %}