xref: /webtrees/resources/views/modules/location-list/page.phtml (revision 56d475424b46df195a76f2a149ee5a07327497e8)
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