@props([ 'modals' => null, 'widgetData' => [], ])
class(['filament-page']) }}>
@if ($header = $this->getHeader()) {{ $header }} @elseif ($heading = $this->getHeading()) {{ $heading }} @endif @if ($headerWidgets = $this->getHeaderWidgets()) @endif {{ $slot }} @if ($footerWidgets = $this->getFooterWidgets()) @endif @if ($footer = $this->getFooter()) {{ $footer }} @endif
@php $action = $this->getMountedAction(); @endphp @if ($action) @if ($action->isModalCentered()) {{ $action->getModalHeading() }} @if ($subheading = $action->getModalSubheading()) {{ $subheading }} @endif @else {{ $action->getModalHeading() }} @endif {{ $action->getModalContent() }} @if ($action->hasFormSchema()) {{ $this->getMountedActionForm() }} @endif @if (count($action->getModalActions())) @foreach ($action->getModalActions() as $modalAction) {{ $modalAction }} @endforeach @endif @endif
{{ $this->modal }} @stack('modals')