171378461SGreg Roach<?php 271378461SGreg Roach 371378461SGreg Roachuse Fisharebest\Webtrees\I18N; 47c2c99faSGreg Roachuse Fisharebest\Webtrees\Individual; 57c2c99faSGreg Roachuse Fisharebest\Webtrees\Tree; 67c2c99faSGreg Roach 77c2c99faSGreg Roach/** 87c2c99faSGreg Roach * @var string $ajax_url 97c2c99faSGreg Roach * @var string $title 107c2c99faSGreg Roach * @var Individual $individual 117c2c99faSGreg Roach * @var Tree $tree 127c2c99faSGreg 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 40*d4786c66SGreg Roach<div class="wt-ajax-load wt-page-content wt-chart wt-chart-compact" data-wt-ajax-url="<?= e($ajax_url) ?>"></div> 41