xref: /webtrees/resources/views/modules/top10_surnames/config.phtml (revision e1530f04d01c7f32fea6f1b6c90dbc657e1715f4)
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="row form-group mb-3">
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="row form-group mb-3">
23    <label class="col-sm-3 col-form-label" for="infoStyle">
24        <?= I18N::translate('Layout') ?>
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