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