@foreach (['success' => 'check-circle', 'error' => 'exclamation-triangle', 'info' => 'info-circle'] as $type => $icon)
@if (session($type))
{{ session($type) }}
@endif
@endforeach
{{-- OTP errors are shown inline next to the OTP input instead. --}}
@if ($errors->any() && ! $errors->has('otp'))
Please fix the following:
@foreach ($errors->all() as $error)- {{ $error }}
@endforeach
@endif