xref: /webtrees/resources/views/modals/repository-fields.phtml (revision 3d9e70a53ebdea3db408ada1769711840cc7d14c)
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