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