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