From 1150d35348c34ed6ffc0caacf04b23dac4b86f20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20Hovm=C3=B6ller?= Date: Tue, 18 Jun 2024 15:42:45 +0200 Subject: [PATCH] Fix field grouping in bootstrap5 style --- iommi/style_bootstrap5.py | 1 + 1 file changed, 1 insertion(+) diff --git a/iommi/style_bootstrap5.py b/iommi/style_bootstrap5.py index 9953a89e..cd09e666 100644 --- a/iommi/style_bootstrap5.py +++ b/iommi/style_bootstrap5.py @@ -79,6 +79,7 @@ ), attrs__class={ 'mb-3': True, + 'col': lambda field, **_: field.group is not None, }, input__attrs__class={ 'form-control': True,