@if ($this instanceof \Filament\Actions\Contracts\HasActions && (! $this->hasActionsModalRendered))
@php $action = $this->getMountedAction(); @endphp @if ($action) {{ $action->getModalContent() }} @if (count(($infolist = $action->getInfolist())?->getComponents() ?? [])) {{ $infolist }} @elseif ($this->mountedActionHasForm()) {{ $this->getMountedActionForm() }} @endif {{ $action->getModalContentFooter() }} @endif
@php $this->hasActionsModalRendered = true; @endphp @endif @if ($this instanceof \Filament\Infolists\Contracts\HasInfolists && (! $this->hasInfolistsModalRendered))
@php $action = $this->getMountedInfolistAction(); @endphp @if ($action) {{ $action->getModalContent() }} @if (count(($infolist = $action->getInfolist())?->getComponents() ?? [])) {{ $infolist }} @elseif ($this->mountedInfolistActionHasForm()) {{ $this->getMountedInfolistActionForm() }} @endif {{ $action->getModalContentFooter() }} @endif
@php $this->hasInfolistsModalRendered = true; @endphp @endif @if ($this instanceof \Filament\Tables\Contracts\HasTable && (! $this->hasTableModalRendered))
@php $action = $this->getMountedTableAction(); @endphp @if ($action) {{ $action->getModalContent() }} @if (count(($infolist = $action->getInfolist())?->getComponents() ?? [])) {{ $infolist }} @elseif ($this->mountedTableActionHasForm()) {{ $this->getMountedTableActionForm() }} @endif {{ $action->getModalContentFooter() }} @endif
@php $action = $this->getMountedTableBulkAction(); @endphp @if ($action) {{ $action->getModalContent() }} @if (count(($infolist = $action->getInfolist())?->getComponents() ?? [])) {{ $infolist }} @elseif ($this->mountedTableBulkActionHasForm()) {{ $this->getMountedTableBulkActionForm() }} @endif {{ $action->getModalContentFooter() }} @endif
@php $this->hasTableModalRendered = true; @endphp @endif @if (! $this->hasFormsModalRendered) @php $action = $this->getMountedFormComponentAction(); @endphp
@if ($action) {{ $action->getModalContent() }} @if (count(($infolist = $action->getInfolist())?->getComponents() ?? [])) {{ $infolist }} @elseif ($this->mountedFormComponentActionHasForm()) {{ $this->getMountedFormComponentActionForm() }} @endif {{ $action->getModalContentFooter() }} @endif
@php $this->hasFormsModalRendered = true; @endphp @endif