xref: /webtrees/resources/views/modals/shares.phtml (revision ac71572d8462e396ed5a307f05b29381e49f9e6e)
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