xref: /webtrees/resources/views/statistics/individuals/top10-nolist.phtml (revision 81b514b4672980e5db010e9d89b55eaf131e798f)
1<?php
2
3declare(strict_types=1);
4
5use Fisharebest\Webtrees\Individual;
6
7/**
8 * @var array<array{age:string,person:Individual}> $records
9 */
10
11?>
12
13<?php foreach ($records as $record) : ?>
14    <?php $person = $record['person']; ?>
15    <a href="<?= e($person->url()) ?>"><?= $person->fullName() ?></a> (<?= $record['age'] ?>)
16<?php endforeach; ?>
17