1<?php 2 3use Illuminate\Support\Collection; 4 5/** 6 * @var Collection<int,string> $shares 7 * @var string $title 8 */ 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