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