From f3b0cc5ecc58c44ea3965868d74c333bbfd443b1 Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Thu, 22 Jul 2021 19:53:21 +1000 Subject: [PATCH] more bootstrap 5 fixes --- templates/settings.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/templates/settings.html b/templates/settings.html index e3c72c5..eabbc77 100644 --- a/templates/settings.html +++ b/templates/settings.html @@ -1,20 +1,20 @@ {% extends "base.html" %} {% block main_content %} -
-

{{page_title}}

+
+

{{page_title}}

-
+ {% for field in form %} {% if field.type == 'HiddenField' or field.type == 'CSRFTokenField' %} - {{field}}
+ {{field}} {% elif field.type != 'SubmitField' %} -
- {{ field.label( class="col-lg-3 justify-content-end" ) }} - {{ field( class="form-control col-lg-9" ) }} -
+
+ {{ field.label( class="input-group-text col-3 justify-content-end" ) }} + {{ field( class="form-control col-9" ) }} +
{% endif %} {% endfor %} -
- {{form.submit(class="btn btn-primary offset-lg-2 col-lg-2" )}} +
+ {{form.submit(class="btn btn-primary offset-2 col-2 mt-4" )}}