xref: /webtrees/resources/views/modules/top10_givnnames/config.phtml (revision f7cf8a155e2743f3d124eef3d30a558ab062fa4b)
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