1<?php 2 3use Fisharebest\Webtrees\Contracts\ElementInterface; 4use Fisharebest\Webtrees\Tree; 5 6/** 7 * @var array<string,ElementInterface> $elements 8 * @var Tree $tree 9 */ 10?> 11 12<?php foreach ($elements as $id => $element) : ?> 13 <div class="mb-3"> 14 <label class="col-form-label" for="<?= e($id) ?>"> 15 <?= $element->label() ?> 16 </label> 17 <?= $element->edit($id, $id, '', $tree) ?> 18 </div> 19<?php endforeach ?> 20 21<?= view('modals/restriction-fields') ?> 22