resources/views/modules/place-hierarchy/list.phtml
<?php
declare(strict_types=1);
use Fisharebest\Webtrees\I18N;
use Fisharebest\Webtrees\Place;
/**
* @var array<array<Place>> $columns
*/
?>
<div class="row">
<span class="col wt-page-options-label me-1">
<?= I18N::translate('Place list') ?>
</span>
</div>
<div class="row">
<?php foreach ($columns as $column) : ?>
<ul class="col wt-page-options-value me-1 list-unstyled">
<?php foreach ($column as $place) : ?>
<li>
<a href="<?= e($place->url()) ?>"><?= $place->fullName() ?></a>
</li>
<?php endforeach ?>
</ul>
<?php endforeach ?>
</div>