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