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