@yield('page_css') @php $flashStatus = $flashMessage = $flashSubtitle = ''; @endphp @if(!empty(\Session::get('flash-message')) && !empty(\Session::get('flash-status'))) @php $flashMessage = \Session::get('flash-message'); $flashStatus = \Session::get('flash-status'); $flashSubtitle = \Session::get('flash-subtitle'); \Session::forget('flash-message'); \Session::forget('flash-status'); \Session::forget('flash-subtitle'); @endphp @endif