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