Skip to content
Snippets Groups Projects
Commit 458335f2 authored by Elmar Ludwig's avatar Elmar Ludwig Committed by Jan-Hendrik Willms
Browse files

convert contentbox to fieldset, fixes #3236

Closes #3236

Merge request studip/studip!2195
parent 156c1db4
No related branches found
No related tags found
No related merge requests found
...@@ -11,11 +11,10 @@ ...@@ -11,11 +11,10 @@
?> ?>
<? if ($grouped_defined_properties): ?> <? if ($grouped_defined_properties): ?>
<? foreach ($grouped_defined_properties as $group_name => $properties): ?> <? foreach ($grouped_defined_properties as $group_name => $properties): ?>
<section class="contentbox"> <fieldset>
<header> <legend>
<h1><?= htmlReady($group_name) ?></h1> <?= htmlReady($group_name) ?>
</header> </legend>
<section>
<? foreach ($properties as $property): ?> <? foreach ($properties as $property): ?>
<?= $property->toHtmlInput( <?= $property->toHtmlInput(
$property_data[$property->id] ?? '', $property_data[$property->id] ?? '',
...@@ -24,7 +23,6 @@ ...@@ -24,7 +23,6 @@
true true
) ?> ) ?>
<? endforeach ?> <? endforeach ?>
</section> </fieldset>
</section>
<? endforeach ?> <? endforeach ?>
<? endif ?> <? endif ?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment