@if ($errors->any())
@foreach ($errors->all() as $error) {!! $error !!}
@endforeach
@elseif (session()->get('flash_success'))
@if(is_array(json_decode(session()->get('flash_success'), true))) {!! implode('', session()->get('flash_success')->all(':message
')) !!} @else {!! session()->get('flash_success') !!} @endif
@elseif (session()->get('flash_warning'))
@if(is_array(json_decode(session()->get('flash_warning'), true))) {!! implode('', session()->get('flash_warning')->all(':message
')) !!} @else {!! session()->get('flash_warning') !!} @endif
@elseif (session()->get('flash_info'))
@if(is_array(json_decode(session()->get('flash_info'), true))) {!! implode('', session()->get('flash_info')->all(':message
')) !!} @else {!! session()->get('flash_info') !!} @endif
@elseif (session()->get('flash_danger'))
@if(is_array(json_decode(session()->get('flash_danger'), true))) {!! implode('', session()->get('flash_danger')->all(':message
')) !!} @else {!! session()->get('flash_danger') !!} @endif
@elseif (session()->get('flash_message'))
@if(is_array(json_decode(session()->get('flash_message'), true))) {!! implode('', session()->get('flash_message')->all(':message
')) !!} @else {!! session()->get('flash_message') !!} @endif
@endif