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