xref: /webtrees/resources/views/statistics/families/top10-nolist.phtml (revision 321a89dae12057084d9b58d68d9533212008ee53)
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->fullName() ?></a>
14    - <?= I18N::plural('%s child', '%s children', $record['count'], I18N::number($record['count'])) ?>
15<?php endforeach; ?>
16