xref: /webtrees/resources/views/modals/repository-fields.phtml (revision 2ebcf907ed34213f816592af04e6c160335d6311)
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="form-group">
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