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