1*71378461SGreg Roach<?php 2*71378461SGreg Roach 3*71378461SGreg Roachuse Fisharebest\Webtrees\I18N; 4*71378461SGreg Roach 5*71378461SGreg Roach?> 69b5537c3SGreg Roach 79b5537c3SGreg Roach<h2 class="wt-page-title"> 89b5537c3SGreg Roach <?= $title ?> 99b5537c3SGreg Roach</h2> 109b5537c3SGreg Roach 11*71378461SGreg Roach<form method="post" class="wt-page-options wt-page-options-pedigree-chart d-print-none"> 12*71378461SGreg Roach <?= csrf_field() ?> 139b5537c3SGreg Roach 149b5537c3SGreg Roach <div class="row form-group"> 159b5537c3SGreg Roach <label class="col-sm-3 col-form-label wt-page-options-label" for="xref"> 169b5537c3SGreg Roach <?= I18N::translate('Individual') ?> 179b5537c3SGreg Roach </label> 189b5537c3SGreg Roach <div class="col-sm-9 wt-page-options-value"> 19b6c326d8SGreg Roach <?= view('components/select-individual', ['name' => 'xref', 'individual' => $individual, 'tree' => $tree]) ?> 209b5537c3SGreg Roach </div> 219b5537c3SGreg Roach </div> 229b5537c3SGreg Roach 239b5537c3SGreg Roach <div class="row form-group"> 249b5537c3SGreg Roach <label class="col-sm-3 col-form-label wt-page-options-label" for="generations"> 259b5537c3SGreg Roach <?= I18N::translate('Generations') ?> 269b5537c3SGreg Roach </label> 279b5537c3SGreg Roach <div class="col-sm-9 wt-page-options-value"> 28c9e11c2aSGreg Roach <?= view('components/select', ['name' => 'generations', 'selected' => $generations, 'options' => $generation_options]) ?> 299b5537c3SGreg Roach </div> 309b5537c3SGreg Roach </div> 319b5537c3SGreg Roach 329b5537c3SGreg Roach <div class="row form-group"> 33*71378461SGreg Roach <label class="col-sm-3 col-form-label wt-page-options-label" for="style"> 349b5537c3SGreg Roach <?= I18N::translate('Layout') ?> 359b5537c3SGreg Roach </label> 369b5537c3SGreg Roach <div class="col-sm-9 wt-page-options-value"> 37*71378461SGreg Roach <?= view('components/radios-inline', ['name' => 'style', 'options' => ['left' => view('icons/pedigree-left') . I18N::translate('left'), 'right' => view('icons/pedigree-right') . I18N::translate('right'), 'up' => view('icons/pedigree-up') . I18N::translate('up'), 'down' => view('icons/pedigree-down') . I18N::translate('down'),], 'selected' => $style]) ?> 389b5537c3SGreg Roach </div> 399b5537c3SGreg Roach </div> 409b5537c3SGreg Roach 419b5537c3SGreg Roach <div class="row form-group"> 429b5537c3SGreg Roach <div class="col-sm-3 wt-page-options-label"></div> 439b5537c3SGreg Roach <div class="col-sm-9 wt-page-options-value"> 44*71378461SGreg Roach <input class="btn btn-primary" type="submit" value="<?= /* I18N: A button label. */ 45*71378461SGreg Roach I18N::translate('view') ?>"> 469b5537c3SGreg Roach </div> 479b5537c3SGreg Roach </div> 489b5537c3SGreg Roach</form> 499b5537c3SGreg Roach 50242a7862SGreg Roach<div class="wt-ajax-load wt-page-content wt-chart wt-chart-pedigree" data-ajax-url="<?= e($ajax_url) ?>"></div> 51