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