xref: /webtrees/resources/views/modules/place-hierarchy/list.phtml (revision ac71572d8462e396ed5a307f05b29381e49f9e6e)
1<?php
2
3declare(strict_types=1);
4
5use Fisharebest\Webtrees\I18N;
6use Fisharebest\Webtrees\Place;
7
8/**
9 * @var array<array<Place>> $columns
10 */
11
12?>
13
14<div class="row">
15    <span class="col wt-page-options-label me-1">
16        <?= I18N::translate('Place list') ?>
17    </span>
18</div>
19<div class="row">
20    <?php foreach ($columns as $column) : ?>
21        <ul class="col wt-page-options-value me-1 list-unstyled">
22            <?php foreach ($column as $place) : ?>
23                <li>
24                    <a href="<?= e($place->url()) ?>"><?= $place->fullName() ?></a>
25                </li>
26            <?php endforeach ?>
27        </ul>
28    <?php endforeach ?>
29</div>
30
31