xref: /webtrees/resources/views/modules/top10_givnnames/config.phtml (revision 10e0649788c8d7d4974d81c048ca2b225df8f22e)
1d70512abSGreg Roach<?php
2d70512abSGreg Roach
3*10e06497SGreg Roachdeclare(strict_types=1);
4*10e06497SGreg Roach
5d70512abSGreg Roachuse Fisharebest\Webtrees\I18N;
6d70512abSGreg Roach
77c2c99faSGreg Roach/**
87c2c99faSGreg Roach * @var string               $info_style
97c2c99faSGreg Roach * @var array<string,string> $info_styles
107c2c99faSGreg Roach * @var string               $num
117c2c99faSGreg Roach */
127c2c99faSGreg Roach
13d70512abSGreg Roach?>
14dd6b2bfcSGreg Roach
159e3c2cf9SGreg Roach<div class="row mb-3">
16dd6b2bfcSGreg Roach    <label class="col-sm-3 col-form-label" for="num">
17dd6b2bfcSGreg Roach        <?= /* I18N: ... to show in a list */ I18N::translate('Number of given names') ?>
18dd6b2bfcSGreg Roach    </label>
19dd6b2bfcSGreg Roach    <div class="col-sm-9">
207dca5265SGreg Roach        <input type="number" id="num" name="num" min="1" value="<?= $num ?>" required="required">
21dd6b2bfcSGreg Roach    </div>
22dd6b2bfcSGreg Roach</div>
23dd6b2bfcSGreg Roach
249e3c2cf9SGreg Roach<div class="row mb-3">
25dd6b2bfcSGreg Roach    <label class="col-sm-3 col-form-label" for="infoStyle">
26b6f85d51SGreg Roach        <?= I18N::translate('Layout') ?>
27dd6b2bfcSGreg Roach    </label>
28dd6b2bfcSGreg Roach    <div class="col-sm-9">
297c2c99faSGreg Roach        <?= view('components/select', ['name' => 'infoStyle', 'selected' => $info_style, 'options' => $info_styles]) ?>
30dd6b2bfcSGreg Roach    </div>
31dd6b2bfcSGreg Roach</div>
32