xref: /webtrees/resources/views/selects/family.phtml (revision 3430c0bab1304f028145cca3ec085308fb0390b5)
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 ?>