xref: /webtrees/resources/views/modules/charts/config.phtml (revision 090a06287954f43677f06ea778b3f67c029de8fe)
1<?php
2
3use Fisharebest\Webtrees\I18N;
4use Fisharebest\Webtrees\Individual;
5use Fisharebest\Webtrees\Tree;
6
7/**
8 * @var array<string,string> $charts
9 * @var Individual|null      $individual
10 * @var Tree                 $tree
11 * @var string               $type
12 */
13
14?>
15
16<div class="form-group row">
17    <label class="col-sm-3 col-form-label" for="type">
18        <?= I18N::translate('Chart type') ?>
19    </label>
20    <div class="col-sm-9">
21        <?= view('components/select', ['name' => 'type', 'selected' => $type, 'options' => $charts]) ?>
22    </div>
23</div>
24
25<div class="form-group row">
26    <label class="col-sm-3 col-form-label" for="xref">
27        <label for="xref">
28            <?= I18N::translate('Individual') ?>
29        </label>
30    </label>
31    <div class="col-sm-9">
32        <?= view('components/select-individual', ['name' => 'xref', 'individual' => $individual, 'tree' => $tree]) ?>
33    </div>
34</div>
35