fisharebest/webtrees

View on GitHub
resources/views/record-page-details.phtml

Summary

Maintainability
Test Coverage
<?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>