From 2d0e218e5ec94fe78eabfaddb6c7ede9aed09e6a Mon Sep 17 00:00:00 2001 From: JakWeg <33756545+RWDevelopment@users.noreply.github.com> Date: Sun, 16 Mar 2025 21:47:32 +0100 Subject: [PATCH 1/2] Update sections.php --- panel/views/fields/layout/sections.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/panel/views/fields/layout/sections.php b/panel/views/fields/layout/sections.php index f3df77028..460de4750 100644 --- a/panel/views/fields/layout/sections.php +++ b/panel/views/fields/layout/sections.php @@ -8,12 +8,16 @@ escape($section->label()) ?>
+
getMultiple($section->get('fields', [])) as $field) : ?> isVisible()) : ?> - insert('fields.' . $field->type(), ['field' => $field]) ?> +
attr(['class' => ['col-md-'.$field->get('width', '12-12')]]) ?>> + insert('fields.' . $field->type(), ['field' => $field]) ?> +
+
- \ No newline at end of file + From 93098636c6d26be55967b85f443a6d7308d865c2 Mon Sep 17 00:00:00 2001 From: Giuseppe Criscione <18699708+giuscris@users.noreply.github.com> Date: Sat, 22 Mar 2025 11:34:12 +0100 Subject: [PATCH 2/2] Fix spaces --- panel/views/fields/layout/sections.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/panel/views/fields/layout/sections.php b/panel/views/fields/layout/sections.php index 460de4750..d585be34e 100644 --- a/panel/views/fields/layout/sections.php +++ b/panel/views/fields/layout/sections.php @@ -9,13 +9,13 @@
- getMultiple($section->get('fields', [])) as $field) : ?> - isVisible()) : ?> -
attr(['class' => ['col-md-'.$field->get('width', '12-12')]]) ?>> - insert('fields.' . $field->type(), ['field' => $field]) ?> -
- - + getMultiple($section->get('fields', [])) as $field) : ?> + isVisible()) : ?> +
attr(['class' => ['col-md-' . $field->get('width', '12-12')]]) ?>> + insert('fields.' . $field->type(), ['field' => $field]) ?> +
+ +