xref: /webtrees/resources/views/modules/compact-chart/page.phtml (revision 89d880da80f202b08b9fe837f38a87b48c6d2a97)
1<?php use Fisharebest\Webtrees\I18N; ?>
2
3<h2 class="wt-page-title">
4    <?= $title ?>
5</h2>
6
7<form class="wt-page-options wt-page-options-compact-chart d-print-none">
8    <input type="hidden" name="route" value="module">
9    <input type="hidden" name="module" value="<?= e($module_name) ?>">
10    <input type="hidden" name="action" value="Chart">
11    <input type="hidden" name="ged" value="<?= e($individual->tree()->name()) ?>">
12
13    <div class="row form-group">
14        <label class="col-sm-3 col-form-label wt-page-options-label" for="xref">
15            <?= I18N::translate('Individual') ?>
16        </label>
17        <div class="col-sm-9 wt-page-options-value">
18            <?= view('components/select-individual', ['name' => 'xref', 'individual' => $individual, 'tree' => $tree]) ?>
19        </div>
20    </div>
21
22    <div class="row form-group">
23        <div class="col-sm-3 wt-page-options-label"></div>
24        <div class="col-sm-9 wt-page-options-value">
25            <input class="btn btn-primary" type="submit" value="<?= /* I18N: A button label. */ I18N::translate('view') ?>">
26        </div>
27    </div>
28</form>
29
30<div class="wt-ajax-load wt-page-content wt-chart wt-chart-compact" data-ajax-url="<?= e($ajax_url) ?>"></div>
31