@props([ 'modals' => null, 'widgetData' => [], ])
class(['filament-page']) }}>
@if ($header = $this->getHeader()) {{ $header }} @elseif ($heading = $this->getHeading()) {{ $heading }} @if ($subheading = $this->getSubheading()) {{ $subheading }} @endif @endif {{ \Filament\Facades\Filament::renderHook('page.header-widgets.start') }} @if ($headerWidgets = $this->getVisibleHeaderWidgets()) @endif {{ \Filament\Facades\Filament::renderHook('page.header-widgets.end') }} {{ $slot }} {{ \Filament\Facades\Filament::renderHook('page.footer-widgets.start') }} @if ($footerWidgets = $this->getVisibleFooterWidgets()) @endif {{ \Filament\Facades\Filament::renderHook('page.footer-widgets.end') }} @if ($footer = $this->getFooter()) {{ $footer }} @endif
@php $action = $this->getMountedAction(); @endphp @if ($action) @if ($action->isModalCentered()) @if ($heading = $action->getModalHeading()) {{ $heading }} @endif @if ($subheading = $action->getModalSubheading()) {{ $subheading }} @endif @else @if ($heading = $action->getModalHeading()) {{ $heading }} @endif @if ($subheading = $action->getModalSubheading()) {{ $subheading }} @endif @endif {{ $action->getModalContent() }} @if ($action->hasFormSchema()) {{ $this->getMountedActionForm() }} @endif {{ $action->getModalFooter() }} @if (count($action->getModalActions())) @foreach ($action->getModalActions() as $modalAction) {{ $modalAction }} @endforeach @endif @endif
{{ $this->modal }} @stack('modals')