From e50ac88f694c9536873cf9ba1c8aeeb0d1d993cd Mon Sep 17 00:00:00 2001 From: Jens <11321022+SnejPro@users.noreply.github.com> Date: Tue, 31 Dec 2024 01:07:00 +0100 Subject: [PATCH 1/5] Fix: Remove field_class from div-wrapper in FormActions --- crispy_bootstrap5/templates/bootstrap5/layout/formactions.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crispy_bootstrap5/templates/bootstrap5/layout/formactions.html b/crispy_bootstrap5/templates/bootstrap5/layout/formactions.html index 6daaa07..3b1072e 100644 --- a/crispy_bootstrap5/templates/bootstrap5/layout/formactions.html +++ b/crispy_bootstrap5/templates/bootstrap5/layout/formactions.html @@ -1,6 +1,6 @@
{% if label_class %}
From 8a2d2078f0a9561e5ff6ffb7dc9a1a2493364a84 Mon Sep 17 00:00:00 2001 From: Jens <11321022+SnejPro@users.noreply.github.com> Date: Tue, 31 Dec 2024 01:13:12 +0100 Subject: [PATCH 2/5] Update test_formactions.html --- tests/results/test_formactions.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/results/test_formactions.html b/tests/results/test_formactions.html index e9c294c..24928f3 100644 --- a/tests/results/test_formactions.html +++ b/tests/results/test_formactions.html @@ -1,6 +1,6 @@
test From 1236f223894d7c2eb674b6c7dc9d7d82dbdc826e Mon Sep 17 00:00:00 2001 From: Jens <11321022+SnejPro@users.noreply.github.com> Date: Tue, 31 Dec 2024 12:40:12 +0100 Subject: [PATCH 3/5] Fix: test_formactions.html Adding trailing space --- tests/results/test_formactions.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/results/test_formactions.html b/tests/results/test_formactions.html index 24928f3..b3d83f8 100644 --- a/tests/results/test_formactions.html +++ b/tests/results/test_formactions.html @@ -1,6 +1,6 @@
test From 98ed98e0b94e821e7065830aade8944b83bdf4c2 Mon Sep 17 00:00:00 2001 From: Jens <11321022+SnejPro@users.noreply.github.com> Date: Tue, 31 Dec 2024 20:54:39 +0100 Subject: [PATCH 4/5] Update test_formactions.html --- tests/results/test_formactions.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/results/test_formactions.html b/tests/results/test_formactions.html index b3d83f8..24928f3 100644 --- a/tests/results/test_formactions.html +++ b/tests/results/test_formactions.html @@ -1,6 +1,6 @@
test From 0e04fd75c2605b52f0e0bfadb6bb3e9c50ddd1ae Mon Sep 17 00:00:00 2001 From: Jens <11321022+SnejPro@users.noreply.github.com> Date: Tue, 31 Dec 2024 21:07:49 +0100 Subject: [PATCH 5/5] Fix: test_layout_objects.py --- tests/test_layout_objects.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_layout_objects.py b/tests/test_layout_objects.py index 6eec8de..1554bcb 100644 --- a/tests/test_layout_objects.py +++ b/tests/test_layout_objects.py @@ -663,7 +663,7 @@ def test_formactions(self): ), ) - assert 'class="mb-3 "' in render_crispy_form(test_form) + assert 'class="mb-3 "' in render_crispy_form(test_form) def test_formactions_attrs(self): test_form = SampleForm() @@ -693,5 +693,5 @@ def test_formactions_horizontal_form(self): ), ) - expected_class = 'class="mb-3 row formactions-test-class "' + expected_class = 'class="mb-3 row formactions-test-class"' assert expected_class in render_crispy_form(test_form)