<?php

declare(strict_types=1);

use Fisharebest\Webtrees\GedcomRecord;

/**
 * @var GedcomRecord $record
 */

?>

<table class="table wt-facts-table">
    <?php foreach ($record->facts([], true) as $fact) : ?>
        <?= view('fact', ['fact' => $fact, 'record' => $record]) ?>
    <?php endforeach ?>
</table>
