From 29137f75b12d82211a64189f94a4cc67fa0ca9a3 Mon Sep 17 00:00:00 2001
From: Elmar Ludwig <elmar.ludwig@uni-osnabrueck.de>
Date: Wed, 27 Sep 2023 07:11:18 +0000
Subject: [PATCH] convert contentbox to fieldset, fixes #3236

Closes #3236

Merge request studip/studip!2195
---
 .../_standard_properties_form_part.php        | 28 +++++++++----------
 1 file changed, 13 insertions(+), 15 deletions(-)

diff --git a/app/views/resources/resource/_standard_properties_form_part.php b/app/views/resources/resource/_standard_properties_form_part.php
index 2cd81e81f6b..90ebe6f97f5 100644
--- a/app/views/resources/resource/_standard_properties_form_part.php
+++ b/app/views/resources/resource/_standard_properties_form_part.php
@@ -11,20 +11,18 @@
 ?>
 <? if ($grouped_defined_properties): ?>
     <? foreach ($grouped_defined_properties as $group_name => $properties): ?>
-        <section class="contentbox">
-            <header>
-                <h1><?= htmlReady($group_name) ?></h1>
-            </header>
-            <section>
-                <? foreach ($properties as $property): ?>
-                    <?= $property->toHtmlInput(
-                        $property_data[$property->id] ?? '',
-                        '',
-                        true,
-                        true
-                    ) ?>
-                <? endforeach ?>
-            </section>
-        </section>
+        <fieldset>
+            <legend>
+                <?= htmlReady($group_name) ?>
+            </legend>
+            <? foreach ($properties as $property): ?>
+                <?= $property->toHtmlInput(
+                    $property_data[$property->id] ?? '',
+                    '',
+                    true,
+                    true
+                ) ?>
+            <? endforeach ?>
+        </fieldset>
     <? endforeach ?>
 <? endif ?>
-- 
GitLab