xref: /webtrees/resources/views/modals/restriction-fields.phtml (revision cefd719cbe1294fc6d2ccd78d511950b7752b873)
1<?php
2
3use Fisharebest\Webtrees\I18N;
4
5?>
6
7<div class="row form-group">
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