xref: /webtrees/resources/views/modules/location-list/page.phtml (revision 94db7d2d27c3ad6a04fceebbdcb98e28e97649b3)
1<?php
2
3use Fisharebest\Webtrees\Location;
4use Fisharebest\Webtrees\Tree;
5use Illuminate\Support\Collection;
6
7/**
8 * @var Collection<int,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