xref: /webtrees/resources/views/modules/place-hierarchy/list.phtml (revision 455a30fe529581f1d53045f9c38a0674472d498f)
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 list_label mr-1">
14        <?= I18N::translate('Place list') ?>
15    </span>
16</div>
17<div class="row">
18    <?php foreach ($columns as $column) : ?>
19        <ul class="col list_value_wrap mr-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