@if (!is_in_admin() || (Auth::check() && Auth::user()->hasPermission($route['edit']))) @else @endif