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