1<?php 2 3use Fisharebest\Webtrees\I18N; 4 5?> 6 7<h2 class="wt-page-title"><?= $title ?></h2> 8 9<form method="post" class="wt-page-options wt-page-options-pedigreemap-chart d-print-none"> 10 <?= csrf_field() ?> 11 12 <div class="form-group row"> 13 <label class="col-sm-3 col-form-label wt-page-options-label" for="xref"> 14 <?= I18N::translate('Individual') ?> 15 </label> 16 <div class="col-sm-9 wt-page-options-value"> 17 <?= view('components/select-individual', ['name' => 'xref', 'individual' => $individual, 'tree' => $tree, 'required' => true]) ?> 18 </div> 19 </div> 20 21 <div class="form-group row"> 22 <label class="col-sm-3 col-form-label wt-page-options-label" for="generations"> 23 <?= I18N::translate('Generations') ?> 24 </label> 25 <div class="col-sm-9 wt-page-options-value"> 26 <?= view('components/select-number', ['name' => 'generations', 'selected' => $generations, 'options' => range(2, $maxgenerations)]) ?> 27 </div> 28 </div> 29 30 <div class="form-group row"> 31 <div class="col-sm-3 wt-page-options-label"></div> 32 <div class="col-sm-9 wt-page-options-value"> 33 <input class="btn btn-primary" type="submit" value="<?= /* I18N: A button label. */ 34 I18N::translate('view') 35 ?>"> 36 </div> 37 </div> 38</form> 39 40 41<div class="wt-ajax-load wt-page-content"> 42 <?= $map ?> 43</div> 44 45