xref: /webtrees/resources/views/modules/place-hierarchy/list.phtml (revision 45ebc6c6221f90468111ed2015b8449dca331d93)
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