xref: /webtrees/resources/views/modules/charts/config.phtml (revision 9e3c2cf9009c4c2140f50ddfc80b91f2f82cdce5)
1d70512abSGreg Roach<?php
2d70512abSGreg Roach
3d70512abSGreg Roachuse Fisharebest\Webtrees\I18N;
47c2c99faSGreg Roachuse Fisharebest\Webtrees\Individual;
57c2c99faSGreg Roachuse Fisharebest\Webtrees\Tree;
67c2c99faSGreg Roach
77c2c99faSGreg Roach/**
87c2c99faSGreg Roach * @var array<string,string> $charts
97c2c99faSGreg Roach * @var Individual|null      $individual
107c2c99faSGreg Roach * @var Tree                 $tree
117c2c99faSGreg Roach * @var string               $type
127c2c99faSGreg Roach */
13d70512abSGreg Roach
14d70512abSGreg Roach?>
15dd6b2bfcSGreg Roach
16*9e3c2cf9SGreg Roach<div class="row mb-3">
17dd6b2bfcSGreg Roach    <label class="col-sm-3 col-form-label" for="type">
18dd6b2bfcSGreg Roach        <?= I18N::translate('Chart type') ?>
19dd6b2bfcSGreg Roach    </label>
20dd6b2bfcSGreg Roach    <div class="col-sm-9">
21c9e11c2aSGreg Roach        <?= view('components/select', ['name' => 'type', 'selected' => $type, 'options' => $charts]) ?>
22dd6b2bfcSGreg Roach    </div>
23dd6b2bfcSGreg Roach</div>
24dd6b2bfcSGreg Roach
25*9e3c2cf9SGreg Roach<div class="row mb-3">
26575707d1SGreg Roach    <label class="col-sm-3 col-form-label" for="xref">
27575707d1SGreg Roach        <label for="xref">
28dd6b2bfcSGreg Roach            <?= I18N::translate('Individual') ?>
29dd6b2bfcSGreg Roach        </label>
30dd6b2bfcSGreg Roach    </label>
31dd6b2bfcSGreg Roach    <div class="col-sm-9">
32575707d1SGreg Roach        <?= view('components/select-individual', ['name' => 'xref', 'individual' => $individual, 'tree' => $tree]) ?>
33dd6b2bfcSGreg Roach    </div>
34dd6b2bfcSGreg Roach</div>
35