From cd503caa68c52f98f41d5fecc2afd8c31156f4db Mon Sep 17 00:00:00 2001 From: stilbruch Date: Wed, 23 Mar 2022 16:39:16 -0500 Subject: Move some templates and update form logic --- app/templates/user/login.html | 79 ++++++++++++++----------------------- app/templates/user/register.html | 85 ++++++++++++++++------------------------ 2 files changed, 63 insertions(+), 101 deletions(-) (limited to 'app/templates/user') diff --git a/app/templates/user/login.html b/app/templates/user/login.html index 9aaf33c..6bd4c1c 100644 --- a/app/templates/user/login.html +++ b/app/templates/user/login.html @@ -1,54 +1,35 @@ -{% extends 'base.html' %} +{% extends 'base/form.html' %} -{% block content %} -
-
-
-
-
-
-
-

Log in

+{% block title %}Login{% endblock %} - - -
- {{ form.csrf_token }} -
- -
- - - - -
-
-
- -
- - - - -
-
-
- -
-
- -
-
-
-
-
-
-
+{% block form %} +
+ +
+ + + + +
+
+
+ +
+ + + +
+
+ +
+
+ +
{% endblock %} diff --git a/app/templates/user/register.html b/app/templates/user/register.html index 6341671..26e5dd0 100644 --- a/app/templates/user/register.html +++ b/app/templates/user/register.html @@ -1,57 +1,38 @@ -{% extends 'base.html' %} +{% extends 'base/form.html' %} -{% block content %} -
-
-
-
-
-
-
-

Sign up

+{% block title %}Sign Up{% endblock %} - - -
- {{ form.csrf_token }} -
- -
- - - - -
-
-
- -
- - - - -
-
-
- -
- - - - -
-
-
- -
-
-
-
-
-
-
+{% block form %} +
+ +
+ + + + +
+
+
+ +
+ + + +
+
+ +
+ + + + +
+
+
+ +
{% endblock %} -- cgit v1.2.3