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