xref: /webtrees/resources/views/modules/top10_surnames/config.phtml (revision b2000e41e11e639ec77e52c58e48ae0ed90443f4)
1<?php
2
3use Fisharebest\Webtrees\I18N;
4
5/**
6 * @var string        $info_style
7 * @var array<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 surnames') ?>
16    </label>
17    <div class="col-sm-9">
18        <input class="form-control" id="num" name="num" type="number" min="1" value="<?= e($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