xref: /webtrees/resources/views/modules/location-list/page.phtml (revision 1ff45046fabc22237b5d0d8e489c96f031fc598d)
1<?php
2
3declare(strict_types=1);
4
5use Fisharebest\Webtrees\Location;
6use Fisharebest\Webtrees\Tree;
7use Illuminate\Support\Collection;
8
9/**
10 * @var Collection<int,Location> $locations
11 * @var string                   $title
12 * @var Tree                     $tree
13 */
14
15?>
16<h2 class="wt-page-title">
17    <?= $title ?>
18</h2>
19
20<div class="wt-page-content">
21    <?= view('lists/locations-table', ['locations' => $locations, 'tree' => $tree]) ?>
22</div>
23