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