xref: /webtrees/resources/views/statistics/individuals/top10-nolist.phtml (revision 1270d2767576ed4a83917769b0ee3613e3b010bf)
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