@if (session('message')) @if (is_array(session('message'))) {{ session('message')['message'] }} @else {{ session('message') }} @endif @endif @if (session()->has('errors')) @foreach ($errors->all() as $error) {{ $error }} @endforeach @endif