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