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