xref: /webtrees/resources/views/modules/compact-chart/page.phtml (revision d70512ab02636ee884ef6d7907223ed02c754ff5)
1<?php
2
3use Fisharebest\Webtrees\I18N;
4
5?>
6
7<h2 class="wt-page-title">
8    <?= $title ?>
9</h2>
10
11<form method="post" class="wt-page-options wt-page-options-compact-chart d-print-none">
12    <?= csrf_field() ?>
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            <?= view('components/select-individual', ['name' => 'xref', 'individual' => $individual, 'tree' => $tree, 'required' => true]) ?>
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-chart-compact" data-ajax-url="<?= e($ajax_url) ?>"></div>
32