xref: /webtrees/resources/views/modules/compact-chart/page.phtml (revision 7c2c99fad7cacd17c98be88238ff735d82c6351b)
171378461SGreg Roach<?php
271378461SGreg Roach
371378461SGreg Roachuse Fisharebest\Webtrees\I18N;
4*7c2c99faSGreg Roachuse Fisharebest\Webtrees\Individual;
5*7c2c99faSGreg Roachuse Fisharebest\Webtrees\Tree;
6*7c2c99faSGreg Roach
7*7c2c99faSGreg Roach/**
8*7c2c99faSGreg Roach * @var string     $ajax_url
9*7c2c99faSGreg Roach * @var string     $title
10*7c2c99faSGreg Roach * @var Individual $individual
11*7c2c99faSGreg Roach * @var Tree       $tree
12*7c2c99faSGreg Roach */
1371378461SGreg Roach
1471378461SGreg Roach?>
159b5537c3SGreg Roach
169b5537c3SGreg Roach<h2 class="wt-page-title">
179b5537c3SGreg Roach    <?= $title ?>
189b5537c3SGreg Roach</h2>
199b5537c3SGreg Roach
2071378461SGreg Roach<form method="post" class="wt-page-options wt-page-options-compact-chart d-print-none">
2171378461SGreg Roach    <?= csrf_field() ?>
229b5537c3SGreg Roach
239b5537c3SGreg Roach    <div class="row form-group">
249b5537c3SGreg Roach        <label class="col-sm-3 col-form-label wt-page-options-label" for="xref">
259b5537c3SGreg Roach            <?= I18N::translate('Individual') ?>
269b5537c3SGreg Roach        </label>
279b5537c3SGreg Roach        <div class="col-sm-9 wt-page-options-value">
2800efc03cSGreg Roach            <?= view('components/select-individual', ['name' => 'xref', 'individual' => $individual, 'tree' => $tree, 'required' => true]) ?>
299b5537c3SGreg Roach        </div>
309b5537c3SGreg Roach    </div>
319b5537c3SGreg Roach
329b5537c3SGreg Roach    <div class="row form-group">
339b5537c3SGreg Roach        <div class="col-sm-3 wt-page-options-label"></div>
349b5537c3SGreg Roach        <div class="col-sm-9 wt-page-options-value">
359b5537c3SGreg Roach            <input class="btn btn-primary" type="submit" value="<?= /* I18N: A button label. */ I18N::translate('view') ?>">
369b5537c3SGreg Roach        </div>
379b5537c3SGreg Roach    </div>
389b5537c3SGreg Roach</form>
399b5537c3SGreg Roach
40242a7862SGreg Roach<div class="wt-ajax-load wt-page-content wt-chart wt-chart-compact" data-ajax-url="<?= e($ajax_url) ?>"></div>
41