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