From 9ca953423f530134d6e20ebb887745cb137b65da Mon Sep 17 00:00:00 2001 From: Arona Jones Date: Mon, 13 Sep 2021 16:13:47 +0100 Subject: [PATCH] Revamp registration form --- templates/registration/registration_form.html | 51 +++++++++++-------- 1 file changed, 29 insertions(+), 22 deletions(-) diff --git a/templates/registration/registration_form.html b/templates/registration/registration_form.html index 3e0ce894..ec5829eb 100644 --- a/templates/registration/registration_form.html +++ b/templates/registration/registration_form.html @@ -1,29 +1,36 @@ {% extends 'base_rigs.html' %} {% load widget_tweaks %} +{% load static %} {% block title %}Registration{% endblock %} {% block content %} -
-

New User Registration

- {% 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 %} -
-
- {% endfor %} -

-
+
+
+
+

New User Registration

+
+ {% 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 %} +
+
+ {% endfor %} +

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