xref: /webtrees/resources/views/modals/restriction-fields.phtml (revision 2cf1b3d738df97008ab3c3a92d5939c02a4598a7)
1<?php
2
3use Fisharebest\Webtrees\I18N;
4
5?>
6
7<div class="form-group row">
8    <label class="col-form-label col-sm-2" for="privacy-restriction">
9        <?= /* I18N: a restrction on viewing data */ I18N::translate('Privacy restriction') ?>
10    </label>
11    <div class="col-sm-4">
12        <select class="form-control" id="privacy-restriction" name="privacy-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        </select>
24    </div>
25    <label class="col-form-label col-sm-2" for="edit-restriction">
26        <?= /* I18N: A restriction on editing data */ I18N::translate('Editing restriction') ?>
27    </label>
28    <div class="col-sm-4">
29        <select class="form-control" id="edit-restriction" name="edit-restriction">
30            <option value="">&nbsp;</option>
31            <option value="locked">
32                <?= I18N::translate('Only managers can edit') ?>
33            </option>
34        </select>
35    </div>
36</div>
37