From bc0907577647fce138b77fdcab43a5305e654ff6 Mon Sep 17 00:00:00 2001 From: tomtom5152 Date: Thu, 26 Mar 2015 13:51:35 +0000 Subject: [PATCH] Template improvements to registration form --- templates/registration/registration_form.html | 39 +++++++++++-------- 1 file changed, 22 insertions(+), 17 deletions(-) diff --git a/templates/registration/registration_form.html b/templates/registration/registration_form.html index c8f5bbbf..a73bfaed 100644 --- a/templates/registration/registration_form.html +++ b/templates/registration/registration_form.html @@ -3,22 +3,27 @@ {% block title %}Registration{% endblock %} {% block content %} -{% if form.errors or supplement_form.errors %} -
- {{form.errors}} - {{supplement_form.errors}} -
-{% endif %} - -
{% csrf_token %} - {% for field in form %} -
- -
- {% render_field field class+="form-control" placeholder=field.label %} -
+
+

New User Registration

+ {% if form.errors or supplement_form.errors %} +
+ {{form.errors}} + {{supplement_form.errors}}
- {% endfor %} -

- + {% endif %} + +
+
{% csrf_token %} + {% for field in form %} +
+ +
+ {% render_field field class+="form-control" placeholder=field.label %} +
+
+ {% endfor %} +

+
+
+
{% endblock %} \ No newline at end of file