xref: /webtrees/resources/views/modules/top10_givnnames/config.phtml (revision 4a9a60957058ca2a34e30a0d6f783e1540606590)
1<?php
2
3declare(strict_types=1);
4
5use Fisharebest\Webtrees\I18N;
6
7/**
8 * @var string               $info_style
9 * @var array<string,string> $info_styles
10 * @var string               $num
11 */
12
13?>
14
15<div class="row mb-3">
16    <label class="col-sm-3 col-form-label" for="num">
17        <?= /* I18N: ... to show in a list */ I18N::translate('Number of given names') ?>
18    </label>
19    <div class="col-sm-9">
20        <input type="number" id="num" name="num" min="1" value="<?= $num ?>" required="required">
21    </div>
22</div>
23
24<div class="row mb-3">
25    <label class="col-sm-3 col-form-label" for="infoStyle">
26        <?= I18N::translate('Layout') ?>
27    </label>
28    <div class="col-sm-9">
29        <?= view('components/select', ['name' => 'infoStyle', 'selected' => $info_style, 'options' => $info_styles]) ?>
30    </div>
31</div>
32