xref: /webtrees/resources/views/statistics/families/top10-nolist-grand.phtml (revision aae17343f70d88ac1035ce8c074834d6aa91c4f1)
1<?php
2
3declare(strict_types=1);
4
5use Fisharebest\Webtrees\I18N;
6
7/**
8 * @var array<array> $records
9 */
10
11?>
12
13<?php foreach ($records as $record) : ?>
14    <?php $family = $record['family']; ?>
15    <a href="<?= e($family->url()) ?>"><?= $family->fullName() ?></a>
16    - <?= I18N::plural('%s grandchild', '%s grandchildren', $record['count'], I18N::number($record['count'])) ?>
17<?php endforeach; ?>
18