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