19b5537c3SGreg Roach<?php use Fisharebest\Webtrees\Bootstrap4; ?> 29b5537c3SGreg Roach<?php use Fisharebest\Webtrees\Functions\FunctionsEdit; ?> 39b5537c3SGreg Roach<?php use Fisharebest\Webtrees\I18N; ?> 49b5537c3SGreg Roach 59b5537c3SGreg Roach<h2 class="wt-page-title"> 69b5537c3SGreg Roach <?= $title ?> 79b5537c3SGreg Roach</h2> 89b5537c3SGreg Roach 99b5537c3SGreg Roach<form class="wt-page-options wt-page-options-descendants-chart d-print-none"> 109b5537c3SGreg Roach <input type="hidden" name="route" value="module"> 119b5537c3SGreg Roach <input type="hidden" name="module" value="<?= e($module_name) ?>"> 129b5537c3SGreg Roach <input type="hidden" name="action" value="Chart"> 139b5537c3SGreg Roach <input type="hidden" name="ged" value="<?= e($tree->name()) ?>"> 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"> 209b5537c3SGreg Roach <?= FunctionsEdit::formControlIndividual($tree, $individual, ['id' => 'xref', 'name' => 'xref']) ?> 219b5537c3SGreg Roach </div> 229b5537c3SGreg Roach </div> 239b5537c3SGreg Roach 249b5537c3SGreg Roach <div class="row form-group"> 259b5537c3SGreg Roach <label class="col-sm-3 col-form-label wt-page-options-label" for="generations"> 269b5537c3SGreg Roach <?= I18N::translate('Generations') ?> 279b5537c3SGreg Roach </label> 289b5537c3SGreg Roach <div class="col-sm-9 wt-page-options-value"> 299b5537c3SGreg Roach <input class="form-control" id="generations" name="generations" type="number" min="<?= e($minimum_generations) ?>" max="<?= e($maximum_generations) ?>" value="<?= e($generations) ?>" required> 309b5537c3SGreg Roach </div> 319b5537c3SGreg Roach </div> 329b5537c3SGreg Roach 339b5537c3SGreg Roach <fieldset class="form-group"> 349b5537c3SGreg Roach <div class="row"> 359b5537c3SGreg Roach <legend class="col-form-label col-sm-3 wt-page-options-label"> 369b5537c3SGreg Roach <?= I18N::translate('Layout') ?> 379b5537c3SGreg Roach </legend> 389b5537c3SGreg Roach <div class="col-sm-9 wt-page-options-value"> 399b5537c3SGreg Roach <?= Bootstrap4::radioButtons('chart_style', $chart_styles, $chart_style, true) ?> 409b5537c3SGreg Roach </div> 419b5537c3SGreg Roach </div> 429b5537c3SGreg Roach </fieldset> 439b5537c3SGreg Roach 449b5537c3SGreg Roach <div class="row form-group"> 459b5537c3SGreg Roach <div class="col-form-label col-sm-3 wt-page-options-label"></div> 469b5537c3SGreg Roach <div class="col-sm-9 wt-page-options-value"> 479b5537c3SGreg Roach <input class="btn btn-primary" type="submit" value="<?= /* I18N: A button label. */ I18N::translate('view') ?>"> 489b5537c3SGreg Roach </div> 499b5537c3SGreg Roach </div> 509b5537c3SGreg Roach</form> 519b5537c3SGreg Roach 52*242a7862SGreg Roach<div class="wt-ajax-load wt-page-content wt-chart wt-chart-descendants" data-ajax-url="<?= e($ajax_url) ?>"></div> 53