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