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