1*dd6b2bfcSGreg Roach<?php use Fisharebest\Webtrees\Bootstrap4; ?> 2*dd6b2bfcSGreg Roach<?php use Fisharebest\Webtrees\FontAwesome; ?> 3*dd6b2bfcSGreg Roach<?php use Fisharebest\Webtrees\Functions\FunctionsEdit; ?> 4*dd6b2bfcSGreg Roach<?php use Fisharebest\Webtrees\GedcomCode\GedcomCodePedi; ?> 5*dd6b2bfcSGreg Roach<?php use Fisharebest\Webtrees\I18N; ?> 6*dd6b2bfcSGreg Roach 7*dd6b2bfcSGreg Roach<h2 class="wt-page-title"><?= $title ?></h2> 8*dd6b2bfcSGreg Roach 9*dd6b2bfcSGreg Roach<form class="wt-page-content" method="post"> 10*dd6b2bfcSGreg Roach <?= csrf_field() ?> 11*dd6b2bfcSGreg Roach 12*dd6b2bfcSGreg Roach <div class="row form-group"> 13*dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="famid"> 14*dd6b2bfcSGreg Roach <?= I18N::translate('Family') ?> 15*dd6b2bfcSGreg Roach </label> 16*dd6b2bfcSGreg Roach <div class="col-sm-9"> 17*dd6b2bfcSGreg Roach <?= FunctionsEdit::formControlFamily($tree, null, ['id' => 'famid', 'name' => 'famid']) ?> 18*dd6b2bfcSGreg Roach </div> 19*dd6b2bfcSGreg Roach </div> 20*dd6b2bfcSGreg Roach 21*dd6b2bfcSGreg Roach <div class="row form-group"> 22*dd6b2bfcSGreg Roach <label class="col-sm-3 col-form-label" for="PEDI"> 23*dd6b2bfcSGreg Roach <?= I18N::translate('Pedigree') ?> 24*dd6b2bfcSGreg Roach </label> 25*dd6b2bfcSGreg Roach <div class="col-sm-9"> 26*dd6b2bfcSGreg Roach <?= Bootstrap4::select(GedcomCodePedi::getValues($individual), '', ['id' => 'PEDI', 'name' => 'PEDI']) ?> 27*dd6b2bfcSGreg Roach <p class="small text-muted"> 28*dd6b2bfcSGreg Roach <?= I18N::translate('A child may have more than one set of parents. The relationship between the child and the parents can be biological, legal, or based on local culture and tradition. If no pedigree is specified, then a biological relationship will be assumed.') ?> 29*dd6b2bfcSGreg Roach </p> 30*dd6b2bfcSGreg Roach </div> 31*dd6b2bfcSGreg Roach </div> 32*dd6b2bfcSGreg Roach 33*dd6b2bfcSGreg Roach <div class="row form-group"> 34*dd6b2bfcSGreg Roach <div class="col-sm-9 offset-sm-3"> 35*dd6b2bfcSGreg Roach <button class="btn btn-primary" type="submit"> 36*dd6b2bfcSGreg Roach <?= FontAwesome::decorativeIcon('save') ?> 37*dd6b2bfcSGreg Roach <?= /* I18N: A button label. */ 38*dd6b2bfcSGreg Roach I18N::translate('save') ?> 39*dd6b2bfcSGreg Roach </button> 40*dd6b2bfcSGreg Roach <a class="btn btn-secondary" href="<?= e($individual->url()) ?>"> 41*dd6b2bfcSGreg Roach <?= FontAwesome::decorativeIcon('cancel') ?> 42*dd6b2bfcSGreg Roach <?= /* I18N: A button label. */ 43*dd6b2bfcSGreg Roach I18N::translate('cancel') ?> 44*dd6b2bfcSGreg Roach </a> 45*dd6b2bfcSGreg Roach </div> 46*dd6b2bfcSGreg Roach </div> 47*dd6b2bfcSGreg Roach</form> 48