xref: /webtrees/resources/views/selects/family.phtml (revision 28065790528836a647ac70c4321a0fa40e002ae8)
1<?php
2
3use Fisharebest\Webtrees\Elements\Marriage;
4use Fisharebest\Webtrees\Family;
5use Fisharebest\Webtrees\I18N;
6
7/**
8 * @var Family $family
9 */
10
11$marriage_date = $family->getMarriageDate();
12
13$marriage = new Marriage(I18N::translate('Marriage'))
14
15?>
16<?= $family->fullName() ?>
17<?php if ($marriage_date->isOK()) : ?>
18<?= $marriage_date->display() ?>
19<?php endif ?>