xref: /webtrees/resources/views/individual-page-names.phtml (revision 4b9213b33377fa752da3c34c8057f8662b73fd24)
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-page-name', ['fact' => $fact]) ?>
14    <?php endforeach ?>
15
16    <?php foreach ($record->facts(['SEX']) as $fact) : ?>
17        <?= view('individual-page-sex', ['fact' => $fact]) ?>
18    <?php endforeach ?>
19</div>
20