From fcccbe7d36f927ac12ea80e7cceaaadb952e6bfa Mon Sep 17 00:00:00 2001 From: Richard Hitier Date: Fri, 7 May 2021 10:29:18 +0200 Subject: [PATCH] New configurable css class '.pdc-form' --- app/main/templates/agent_edit.html | 2 +- app/templates/bs4-scripts.html | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/main/templates/agent_edit.html b/app/main/templates/agent_edit.html index f6724ef..c78dde1 100644 --- a/app/main/templates/agent_edit.html +++ b/app/main/templates/agent_edit.html @@ -12,7 +12,7 @@ -
+ {% if agent %} {% endif %} diff --git a/app/templates/bs4-scripts.html b/app/templates/bs4-scripts.html index 99ec17d..6e24fb1 100644 --- a/app/templates/bs4-scripts.html +++ b/app/templates/bs4-scripts.html @@ -4,4 +4,7 @@ $(function () { $('[data-toggle="tooltip"]').tooltip() }) + + // Set the bootstrap layout for forms + $(".pdc-form").addClass("col-12 col-md-10 col-lg-8 col-xl-6") -- libgit2 0.21.2