@php
$delayAttr = isset($delay) ? 'data-delay="' . $delay . '"' : '';
@endphp
@if (Session::has('success') || Session::has('status'))
{!! Session::get('success') ? Session::get('success') : Session::get('status') !!}
@endif
@if (Session::has('error'))
{{-- --}}
{!! Session::get('error') !!}
@endif
@if (count($errors) > 0)
{!! $errors->all()[0] !!}
@endif