Skip to content
Snippets Groups Projects
Commit 29137f75 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 90bee4b3
No related branches found
No related tags found
No related merge requests found
......@@ -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 ?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment