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