<?php

declare(strict_types=1);

use Fisharebest\Webtrees\I18N;

/**
 * @var string        $info_style
 * @var array<string> $info_styles
 * @var string        $num
 */

?>

<div class="row mb-3">
    <label class="col-sm-3 col-form-label" for="num">
        <?= /* I18N: ... to show in a list */ I18N::translate('Number of surnames') ?>
    </label>
    <div class="col-sm-9">
        <input class="form-control" id="num" name="num" type="number" min="1" value="<?= e($num) ?>" required="required">
    </div>
</div>

<div class="row mb-3">
    <label class="col-sm-3 col-form-label" for="infoStyle">
        <?= I18N::translate('Layout') ?>
    </label>
    <div class="col-sm-9">
        <?= view('components/select', ['name' => 'infoStyle', 'selected' => $info_style, 'options' => $info_styles]) ?>
    </div>
</div>
