xref: /webtrees/resources/views/individual-page-names.phtml (revision 7a5572d345d85971fc301a359461ed23efb3ea1f)
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