1<?php 2 3declare(strict_types=1); 4 5use Fisharebest\Webtrees\I18N; 6 7/** 8 * @var string $info_style 9 * @var array<string> $info_styles 10 * @var string $num 11 */ 12 13?> 14 15<div class="row mb-3"> 16 <label class="col-sm-3 col-form-label" for="num"> 17 <?= /* I18N: ... to show in a list */ I18N::translate('Number of surnames') ?> 18 </label> 19 <div class="col-sm-9"> 20 <input class="form-control" id="num" name="num" type="number" min="1" value="<?= e($num) ?>" required="required"> 21 </div> 22</div> 23 24<div class="row mb-3"> 25 <label class="col-sm-3 col-form-label" for="infoStyle"> 26 <?= I18N::translate('Layout') ?> 27 </label> 28 <div class="col-sm-9"> 29 <?= view('components/select', ['name' => 'infoStyle', 'selected' => $info_style, 'options' => $info_styles]) ?> 30 </div> 31</div> 32