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="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 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="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