@if(Auth::check()) arrow_back @if(Auth::check() && Auth::user()->role_id == 1) {{ str_replace('-', ' ', Route::currentRouteName()) }} @endif {{ Auth::user()->name }} @csrf logout @if(Auth::check() && Auth::user()->role_id == 1) {{ str_replace('-', ' ', Route::currentRouteName()) }} @endif @endif