1<?php use Fisharebest\Webtrees\Functions\FunctionsEdit; ?> 2<?php use Fisharebest\Webtrees\I18N; ?> 3 4<h2 class="wt-page-title"><?= $title ?></h2> 5 6<form class="wt-page-content" method="post"> 7 <?= csrf_field() ?> 8 9 <div class="form-group row"> 10 <label class="col-sm-3 col-form-label" for="spouse"> 11 <?= $label ?> 12 </label> 13 <div class="col-sm-9"> 14 <?= FunctionsEdit::formControlIndividual($tree, null, ['id' => 'spouse', 'name' => 'spid']) ?> 15 </div> 16 </div> 17 18 <?= FunctionsEdit::addSimpleTag($tree, '0 MARR Y') ?> 19 <?= FunctionsEdit::addSimpleTag($tree, '0 DATE', 'MARR') ?> 20 <?= FunctionsEdit::addSimpleTag($tree, '0 PLAC', 'MARR') ?> 21 22 <div class="row form-group"> 23 <div class="col-sm-9 offset-sm-3"> 24 <button class="btn btn-primary" type="submit"> 25 <?= view('icons/save') ?> 26 <?= /* I18N: A button label. */ 27 I18N::translate('save') ?> 28 </button> 29 <a class="btn btn-secondary" href="<?= e($individual->url()) ?>"> 30 <?= view('icons/cancel') ?> 31 <?= /* I18N: A button label. */ 32 I18N::translate('cancel') ?> 33 </a> 34 </div> 35 </div> 36</form> 37