xref: /webtrees/resources/views/modals/shares.phtml (revision 1ff45046fabc22237b5d0d8e489c96f031fc598d)
1<?php
2
3declare(strict_types=1);
4
5use Illuminate\Support\Collection;
6
7/**
8 * @var Collection<int,string> $shares
9 * @var string                 $title
10 */
11
12?>
13<div class="modal fade" id="wt-shares-modal" tabindex="-1" role="dialog" aria-label="<?= e($title) ?>" aria-hidden="true">
14    <div class="modal-dialog modal-lg" role="document">
15        <div class="modal-content">
16            <?= view('modals/header', ['title' => $title]) ?>
17
18            <div class="modal-body">
19                <div class="wt-share-list">
20                    <?php foreach ($shares as $share) : ?>
21                        <div class="wt-share-item">
22                            <?= $share ?>
23                        </div>
24                    <?php endforeach ?>
25                </div>
26            </div>
27
28            <?= view('modals/footer-close') ?>
29        </div>
30    </div>
31</div>
32