1<?php use Fisharebest\Webtrees\I18N; ?> 2 3<h2 class="wt-page-title"> 4 <?= $title ?> 5</h2> 6 7<form method="get" action="<?= e(route('module')) ?>" class="wt-page-options wt-page-options-descendants-chart d-print-none"> 8 <input type="hidden" name="route" value="module"> 9 <input type="hidden" name="module" value="<?= e($module_name) ?>"> 10 <input type="hidden" name="action" value="Chart"> 11 <input type="hidden" name="ged" value="<?= e($tree->name()) ?>"> 12 13 <div class="row form-group"> 14 <label class="col-sm-3 col-form-label wt-page-options-label" for="xref"> 15 <?= I18N::translate('Individual') ?> 16 </label> 17 <div class="col-sm-9 wt-page-options-value"> 18 <?= view('components/select-individual', ['name' => 'xref', 'individual' => $individual, 'tree' => $tree]) ?> 19 </div> 20 </div> 21 22 <div class="row form-group"> 23 <label class="col-sm-3 col-form-label wt-page-options-label" for="generations"> 24 <?= I18N::translate('Generations') ?> 25 </label> 26 <div class="col-sm-9 wt-page-options-value"> 27 <input class="form-control" id="generations" name="generations" type="number" min="<?= e($minimum_generations) ?>" max="<?= e($maximum_generations) ?>" value="<?= e($generations) ?>" required> 28 </div> 29 </div> 30 31 <fieldset class="form-group"> 32 <div class="row"> 33 <legend class="col-form-label col-sm-3 wt-page-options-label"> 34 <?= I18N::translate('Layout') ?> 35 </legend> 36 <div class="col-sm-9 wt-page-options-value"> 37 <?= view('components/radios-inline', ['name' => 'chart_style', 'options' => $chart_styles, 'selected' => $chart_style]) ?> 38 </div> 39 </div> 40 </fieldset> 41 42 <div class="row form-group"> 43 <div class="col-form-label col-sm-3 wt-page-options-label"></div> 44 <div class="col-sm-9 wt-page-options-value"> 45 <input class="btn btn-primary" type="submit" value="<?= /* I18N: A button label. */ I18N::translate('view') ?>"> 46 </div> 47 </div> 48</form> 49 50<div class="wt-ajax-load wt-page-content wt-chart wt-chart-descendants" data-ajax-url="<?= e($ajax_url) ?>"></div> 51