@props([ 'title', 'description' => null, 'actionLabel' => null, 'actionUrl' => null, ]) @php $viewErrors = $errors ?? new \Illuminate\Support\ViewErrorBag(); @endphp

{{ $title }}

@if ($description)

{{ $description }}

@endif
@if ($actionLabel && $actionUrl) {{ $actionLabel }} @endif
@if (session('success'))
{{ session('success') }}
@endif @if ($viewErrors->any())
Ada data yang perlu diperbaiki:
    @foreach ($viewErrors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif {{ $slot }}