xref: /webtrees/resources/views/modules/compact-chart/page.phtml (revision 71378461661e7642e52abe7d41c9cfffb3e5369b)
1*71378461SGreg Roach<?php
2*71378461SGreg Roach
3*71378461SGreg Roachuse Fisharebest\Webtrees\Http\RequestHandlers\ModuleAction;
4*71378461SGreg Roachuse Fisharebest\Webtrees\I18N;
5*71378461SGreg Roach
6*71378461SGreg Roach?>
79b5537c3SGreg Roach
89b5537c3SGreg Roach<h2 class="wt-page-title">
99b5537c3SGreg Roach    <?= $title ?>
109b5537c3SGreg Roach</h2>
119b5537c3SGreg Roach
12*71378461SGreg Roach<form method="post" class="wt-page-options wt-page-options-compact-chart d-print-none">
13*71378461SGreg Roach    <?= csrf_field() ?>
149b5537c3SGreg Roach
159b5537c3SGreg Roach    <div class="row form-group">
169b5537c3SGreg Roach        <label class="col-sm-3 col-form-label wt-page-options-label" for="xref">
179b5537c3SGreg Roach            <?= I18N::translate('Individual') ?>
189b5537c3SGreg Roach        </label>
199b5537c3SGreg Roach        <div class="col-sm-9 wt-page-options-value">
20b6c326d8SGreg Roach            <?= view('components/select-individual', ['name' => 'xref', 'individual' => $individual, 'tree' => $tree]) ?>
219b5537c3SGreg Roach        </div>
229b5537c3SGreg Roach    </div>
239b5537c3SGreg Roach
249b5537c3SGreg Roach    <div class="row form-group">
259b5537c3SGreg Roach        <div class="col-sm-3 wt-page-options-label"></div>
269b5537c3SGreg Roach        <div class="col-sm-9 wt-page-options-value">
279b5537c3SGreg Roach            <input class="btn btn-primary" type="submit" value="<?= /* I18N: A button label. */ I18N::translate('view') ?>">
289b5537c3SGreg Roach        </div>
299b5537c3SGreg Roach    </div>
309b5537c3SGreg Roach</form>
319b5537c3SGreg Roach
32242a7862SGreg Roach<div class="wt-ajax-load wt-page-content wt-chart wt-chart-compact" data-ajax-url="<?= e($ajax_url) ?>"></div>
33