@php $action = $this->getMountedFormComponentAction(); @endphp
@if ($action) @if ($action->isModalCentered()) {{ $action->getModalHeading() }} @if ($subheading = $action->getModalSubheading()) {{ $subheading }} @endif @else {{ $action->getModalHeading() }} @if ($subheading = $action->getModalSubheading()) {{ $subheading }} @endif @endif {{ $action->getModalContent() }} @if ($action->hasFormSchema()) {{ $this->getMountedFormComponentActionForm() }} @endif @if (count($action->getModalActions())) @foreach ($action->getModalActions() as $modalAction) {{ $modalAction }} @endforeach @endif @endif