1<?php use Fisharebest\Webtrees\Bootstrap4; ?> 2<?php use Fisharebest\Webtrees\Functions\FunctionsEdit; ?> 3<?php use Fisharebest\Webtrees\I18N; ?> 4 5<h2 class="wt-page-title"> 6 <?= $title ?> 7</h2> 8 9<form class="wt-page-options wt-page-options-pedigree-chart d-print-none"> 10 <input type="hidden" name="route" value="module"> 11 <input type="hidden" name="module" value="<?= e($module_name) ?>"> 12 <input type="hidden" name="action" value="Chart"> 13 <input type="hidden" name="ged" value="<?= e($tree->name()) ?>"> 14 15 <div class="row form-group"> 16 <label class="col-sm-3 col-form-label wt-page-options-label" for="xref"> 17 <?= I18N::translate('Individual') ?> 18 </label> 19 <div class="col-sm-9 wt-page-options-value"> 20 <?= FunctionsEdit::formControlIndividual($tree, $individual, ['id' => 'xref', 'name' => 'xref']) ?> 21 </div> 22 </div> 23 24 <div class="row form-group"> 25 <label class="col-sm-3 col-form-label wt-page-options-label" for="generations"> 26 <?= I18N::translate('Generations') ?> 27 </label> 28 <div class="col-sm-9 wt-page-options-value"> 29 <?= Bootstrap4::select($generation_options, $generations, ['id' => 'generations', 'name' => 'generations']) ?> 30 </div> 31 </div> 32 33 <div class="row form-group"> 34 <label class="col-sm-3 col-form-label wt-page-options-label" for="orientation"> 35 <?= I18N::translate('Layout') ?> 36 </label> 37 <div class="col-sm-9 wt-page-options-value"> 38 <?= view('components/radio-inline', ['name' => 'orientation', 'value' => 'left', 'checked' => $orientation === 'left', 'text' => view('icons/pedigree-left') . I18N::translate('left')]) ?> 39 <?= view('components/radio-inline', ['name' => 'orientation', 'value' => 'right', 'checked' => $orientation === 'right', 'text' => view('icons/pedigree-right') . I18N::translate('right')]) ?> 40 <?= view('components/radio-inline', ['name' => 'orientation', 'value' => 'up', 'checked' => $orientation === 'up', 'text' => view('icons/pedigree-up') . I18N::translate('up')]) ?> 41 <?= view('components/radio-inline', ['name' => 'orientation', 'value' => 'down', 'checked' => $orientation === 'down', 'text' => view('icons/pedigree-down') . I18N::translate('down')]) ?> 42 </div> 43 </div> 44 45 <div class="row form-group"> 46 <div class="col-sm-3 wt-page-options-label"></div> 47 <div class="col-sm-9 wt-page-options-value"> 48 <input class="btn btn-primary" type="submit" value="<?= /* I18N: A button label. */ I18N::translate('view') ?>"> 49 </div> 50 </div> 51</form> 52 53<div class="wt-ajax-load wt-page-content wt-chart wt-chart-pedigree" data-ajax-url="<?= e($ajax_url) ?>"></div> 54