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