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