@extends('user.layouts.master') @section('title', __('Error Occurred')) @php $icon = (!empty($errors)) ? data_get($errors, 'icon') : false; $title = (!empty($errors)) ? data_get($errors, 'title') : false; $notice = (!empty($errors)) ? data_get($errors, 'notice') : false; $button = (!empty($errors)) ? data_get($errors, 'button') : false; $link = (!empty($errors)) ? data_get($errors, 'link') : false; $help = (!empty($errors)) ? data_get($errors, 'help') : false; @endphp @section('content')
@if(isset($title) && $title)

{{ $title }}

@endif @if(isset($notice) && (data_get($notice, 'caption') || data_get($notice, 'note')))
@if(data_get($notice, 'caption'))

{{ data_get($notice, 'caption') }}

@endif @if(data_get($notice, 'note'))

{{ data_get($notice, 'note') }}

@endif
@endif @if((isset($button) && $button) || (isset($link) && $link))
@endif @if(isset($help) && $help)
{!! $help !!}
@endif
@endsection