xref: /webtrees/resources/views/modules/charts/config.phtml (revision 10e0649788c8d7d4974d81c048ca2b225df8f22e)
1d70512abSGreg Roach<?php
2d70512abSGreg Roach
3*10e06497SGreg Roachdeclare(strict_types=1);
4*10e06497SGreg Roach
5d70512abSGreg Roachuse Fisharebest\Webtrees\I18N;
67c2c99faSGreg Roachuse Fisharebest\Webtrees\Individual;
77c2c99faSGreg Roachuse Fisharebest\Webtrees\Tree;
87c2c99faSGreg Roach
97c2c99faSGreg Roach/**
107c2c99faSGreg Roach * @var array<string,string> $charts
117c2c99faSGreg Roach * @var Individual|null      $individual
127c2c99faSGreg Roach * @var Tree                 $tree
137c2c99faSGreg Roach * @var string               $type
147c2c99faSGreg Roach */
15d70512abSGreg Roach
16d70512abSGreg Roach?>
17dd6b2bfcSGreg Roach
189e3c2cf9SGreg Roach<div class="row mb-3">
19dd6b2bfcSGreg Roach    <label class="col-sm-3 col-form-label" for="type">
20dd6b2bfcSGreg Roach        <?= I18N::translate('Chart type') ?>
21dd6b2bfcSGreg Roach    </label>
22dd6b2bfcSGreg Roach    <div class="col-sm-9">
23c9e11c2aSGreg Roach        <?= view('components/select', ['name' => 'type', 'selected' => $type, 'options' => $charts]) ?>
24dd6b2bfcSGreg Roach    </div>
25dd6b2bfcSGreg Roach</div>
26dd6b2bfcSGreg Roach
279e3c2cf9SGreg Roach<div class="row mb-3">
28575707d1SGreg Roach    <label class="col-sm-3 col-form-label" for="xref">
29575707d1SGreg Roach        <label for="xref">
30dd6b2bfcSGreg Roach            <?= I18N::translate('Individual') ?>
31dd6b2bfcSGreg Roach        </label>
32dd6b2bfcSGreg Roach    </label>
33dd6b2bfcSGreg Roach    <div class="col-sm-9">
34575707d1SGreg Roach        <?= view('components/select-individual', ['name' => 'xref', 'individual' => $individual, 'tree' => $tree]) ?>
35dd6b2bfcSGreg Roach    </div>
36dd6b2bfcSGreg Roach</div>
37