# HG changeset patch # User Madhusudan.C.S # Date 1295342246 -19800 # Node ID 408fb012dbae2b3b9e42a015bf63269aa7eff764 # Parent e7b1a685b488f5e4ad5320ca7a66025388c70327 Use the defined templatetag on profile registration form too. diff -r e7b1a685b488 -r 408fb012dbae pytask/templates/registration/login.html --- a/pytask/templates/registration/login.html Tue Jan 18 14:37:54 2011 +0530 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,9 +0,0 @@ -{% extends "base.html" %} - -{% load form_helpers %} - -{% block content %} - {% url auth_login as login_url %} - {% as_div_form form "Login Form" csrf_token "Login" login_url %} - Forgot password? -{% endblock %} diff -r e7b1a685b488 -r 408fb012dbae pytask/templates/registration/registration_form.html --- 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 %} -
-{% csrf_token %} -{{ form.as_p }} - -
+ {% url registration_register as registration_url %} + {% as_div_form form "Create Task Form" csrf_token "Submit" registration_url %} {% endblock %}