From f88fa1e057e6d03ca1398c2c56950ae49c51139f Mon Sep 17 00:00:00 2001 From: Sanj Date: Wed, 3 Aug 2011 20:25:43 +0530 Subject: [PATCH] register / login --- itf/templates/registration/login.html | 22 +++++++------------ .../registration/registration_form.html | 8 +++++-- 2 files changed, 14 insertions(+), 16 deletions(-) diff --git a/itf/templates/registration/login.html b/itf/templates/registration/login.html index c10366d..d3bfa60 100644 --- a/itf/templates/registration/login.html +++ b/itf/templates/registration/login.html @@ -1,22 +1,16 @@ {% extends 'registration/register_base.html' %} -{% block title %} - Login -{% endblock %} -{% block extra_head %} - -{% endblock %} - -{% block pageTitle %} - Login -{% endblock %} - -{% block content %} +{% block reg_content %}
-{{ form.as_ul }}
- +{% csrf_token %} + +{{ form.as_table }} + + + +
diff --git a/itf/templates/registration/registration_form.html b/itf/templates/registration/registration_form.html index 4c7f0a3..4c90b98 100644 --- a/itf/templates/registration/registration_form.html +++ b/itf/templates/registration/registration_form.html @@ -4,8 +4,12 @@ {% block reg_content %}
- {{ form.as_p }} + + {{ form.as_table }} {% csrf_token %} - + + + +
{% endblock %}