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