xref: /webtrees/resources/views/modals/restriction-fields.phtml (revision ac71572d8462e396ed5a307f05b29381e49f9e6e)
1<?php
2
3declare(strict_types=1);
4
5use Fisharebest\Webtrees\I18N;
6
7?>
8
9<div class="row mb-3">
10    <label class="col-form-label col-sm-2" for="restriction">
11        <?= /* I18N: a restriction on viewing data */ I18N::translate('Restriction') ?>
12    </label>
13    <div class="col-sm-10">
14        <select class="form-select" id="restriction" name="restriction">
15            <option value="">&nbsp;</option>
16            <option value="none">
17                <?= I18N::translate('Show to visitors') ?>
18            </option>
19            <option value="privacy">
20                <?= I18N::translate('Show to members') ?>
21            </option>
22            <option value="confidential">
23                <?= I18N::translate('Show to managers') ?>
24            </option>
25            <option value="locked">
26                <?= I18N::translate('Only managers can edit') ?>
27            </option>
28        </select>
29    </div>
30</div>
31