xref: /webtrees/resources/views/modules/compact-chart/page.phtml (revision 242a78626998a767db1568b24919e94ae4b38ac3)
19b5537c3SGreg Roach<?php use Fisharebest\Webtrees\Functions\FunctionsEdit; ?>
29b5537c3SGreg Roach<?php use Fisharebest\Webtrees\I18N; ?>
39b5537c3SGreg Roach
49b5537c3SGreg Roach<h2 class="wt-page-title">
59b5537c3SGreg Roach    <?= $title ?>
69b5537c3SGreg Roach</h2>
79b5537c3SGreg Roach
89b5537c3SGreg Roach<form class="wt-page-options wt-page-options-compact-chart d-print-none">
99b5537c3SGreg Roach    <input type="hidden" name="route" value="module">
109b5537c3SGreg Roach    <input type="hidden" name="module" value="<?= e($module_name) ?>">
119b5537c3SGreg Roach    <input type="hidden" name="action" value="Chart">
129b5537c3SGreg Roach    <input type="hidden" name="ged" value="<?= e($individual->tree()->name()) ?>">
139b5537c3SGreg Roach
149b5537c3SGreg Roach    <div class="row form-group">
159b5537c3SGreg Roach        <label class="col-sm-3 col-form-label wt-page-options-label" for="xref">
169b5537c3SGreg Roach            <?= I18N::translate('Individual') ?>
179b5537c3SGreg Roach        </label>
189b5537c3SGreg Roach        <div class="col-sm-9 wt-page-options-value">
199b5537c3SGreg Roach            <?= FunctionsEdit::formControlIndividual($individual->tree(), $individual, ['id' => 'xref', 'name' => 'xref']) ?>
209b5537c3SGreg Roach        </div>
219b5537c3SGreg Roach    </div>
229b5537c3SGreg Roach
239b5537c3SGreg Roach    <div class="row form-group">
249b5537c3SGreg Roach        <div class="col-sm-3 wt-page-options-label"></div>
259b5537c3SGreg Roach        <div class="col-sm-9 wt-page-options-value">
269b5537c3SGreg Roach            <input class="btn btn-primary" type="submit" value="<?= /* I18N: A button label. */ I18N::translate('view') ?>">
279b5537c3SGreg Roach        </div>
289b5537c3SGreg Roach    </div>
299b5537c3SGreg Roach</form>
309b5537c3SGreg Roach
31*242a7862SGreg Roach<div class="wt-ajax-load wt-page-content wt-chart wt-chart-compact" data-ajax-url="<?= e($ajax_url) ?>"></div>
32