summaryrefslogtreecommitdiff
path: root/resources/views/modules/source-list/page.phtml
blob: e5ba74dd307895f627c8b6b12c6c7ae7d6440677 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php

declare(strict_types=1);

use Fisharebest\Webtrees\Source;
use Fisharebest\Webtrees\Tree;
use Illuminate\Support\Collection;

/**
 * @var Collection<int,Source> $sources
 * @var string                 $title
 * @var Tree                   $tree
 */

?>
<h2 class="wt-page-title">
    <?= $title ?>
</h2>

<div class="wt-page-content">
    <?= view('lists/sources-table', ['sources' => $sources, 'tree' => $tree]) ?>
</div>