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