<?php use Fisharebest\Webtrees\I18N; ?>

<div class="form-group row">
    <label class="col-sm-3 col-form-label" for="type">
        <?= I18N::translate('Chart type') ?>
    </label>
    <div class="col-sm-9">
        <?= view('components/select', ['name' => 'type', 'selected' => $type, 'options' => $charts]) ?>
    </div>
</div>

<div class="form-group row">
    <label class="col-sm-3 col-form-label" for="pid">
        <label for="pid">
            <?= I18N::translate('Individual') ?>
        </label>
    </label>
    <div class="col-sm-9">
        <?= view('components/select-individual', ['name' => 'pid', 'individual' => $individual, 'tree' => $tree]) ?>
    </div>
</div>
