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