pytask/templates/registration/registration_form.html
changeset 460 408fb012dbae
parent 319 70726699ca80
child 477 a7ac6cbaca25
--- a/pytask/templates/registration/registration_form.html	Tue Jan 18 14:37:54 2011 +0530
+++ b/pytask/templates/registration/registration_form.html	Tue Jan 18 14:47:26 2011 +0530
@@ -1,8 +1,8 @@
-{% extends 'base.html' %}
+{% extends "base.html" %}
+
+{% load form_helpers %}
+
 {% block content %}
-<form action="/accounts/register/" method="post">
-{% csrf_token %}
-{{ form.as_p }}
-<input type="submit" value="Submit" />
-</form>
+  {% url registration_register as registration_url %}
+  {% as_div_form form "Create Task Form" csrf_token "Submit" registration_url %}
 {% endblock %}