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