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