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