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