From afc5d4f9b6d7e5dffcded802552d817ccfbfb960 Mon Sep 17 00:00:00 2001 From: stilbruch Date: Wed, 6 Apr 2022 11:24:44 -0500 Subject: Update layout --- app/templates/base/form.html | 52 ++++++++++++++++++++------------------------ 1 file changed, 23 insertions(+), 29 deletions(-) (limited to 'app/templates/base/form.html') diff --git a/app/templates/base/form.html b/app/templates/base/form.html index 22f926b..9f356e0 100644 --- a/app/templates/base/form.html +++ b/app/templates/base/form.html @@ -1,37 +1,31 @@ {% extends 'base/layout.html' %} {% block content %} -
-
-
-
-
-
-

{% block title %}{% endblock %}

+
+
+
+

{% block title %}{% endblock %}

- - {% with messages = get_flashed_messages(with_categories=true) %} - {% if messages %} - {% for category, message in messages %} - {% if category == "message" %} -
- {% else %} -
- {% endif %} - {{ message }} -
- {% endfor %} - {% endif %} - {% endwith %} - -
- {{ form.csrf_token }} - {% block form %}{% endblock %} -
+ + {% with messages = get_flashed_messages(with_categories=true) %} + {% if messages %} + {% for category, message in messages %} + {% if category == "message" %} +
+ {% else %} +
+ {% endif %} + {{ message }}
-
+ {% endfor %} + {% endif %} + {% endwith %} + +
+ {{ form.csrf_token }} + {% block form %}{% endblock %} +
-
-
+ {% endblock %} -- cgit v1.2.3