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