xref: /webtrees/resources/views/individual-page-names.phtml (revision 2ebcf907ed34213f816592af04e6c160335d6311)
1<?php
2
3use Fisharebest\Webtrees\Individual;
4
5/**
6 * @var Individual $record
7 */
8?>
9
10<!-- Name accordion -->
11<div class="col-sm accordion" id="individual-names">
12    <?php foreach ($record->facts(['NAME']) as $fact) : ?>
13        <?= view('individual-name', ['fact' => $fact]) ?>
14    <?php endforeach ?>
15
16    <?php foreach ($record->facts(['SEX']) as $fact) : ?>
17        <?= view('individual-sex', ['fact' => $fact]) ?>
18    <?php endforeach ?>
19</div>
20