{{-- 
  メール送信メッセージ
--}}
@if (session()->has('sent-emails'))
<div class="container-fluid px-0">
  <div class="row">
    <div class="col">
      @foreach (session()->get('sent-emails') as $email)
      @if ($email['status'])
      <div class="alert alert-dismissible alert-success error-message mb-3">
        <button type="button" class="btn-close" data-bs-dismiss="alert"></button>
          <span class="bi bi-check2-circle me-2"></span>{{ $email['message'] }}
        </ul>
      </div>
      @else
      <div class="alert alert-dismissible alert-danger error-message mb-3">
        <button type="button" class="btn-close" data-bs-dismiss="alert"></button>
          <span class="bi bi-exclamation-circle me-2"></span>{{ $email['message'] }}
        </ul>
      </div>
      @endif
      @endforeach
    </div>
  </div>
</div>
@php
  session()->forget('sent-emails');
@endphp
@endif