@extends('errors::customized-layout') @php $template = \App\Models\HttpStatusTemplate::firstWhere('code', 403); @endphp @section('title', $template?->title ?? __('Forbidden')) @section('header') {!! $template?->header !!} @endsection @section('body') {!! $template?->body ?? ($exception->getMessage() ?: 'Forbidden') !!} @endsection @section('footer') {!! $template?->footer !!} @endsection @section('code', '403')