@capture($form) {{ $this->form }} @endcapture @php $relationManagers = $this->getRelationManagers(); @endphp @if ((! $this->hasCombinedRelationManagerTabsWithForm()) || (! count($relationManagers))) {{ $form() }} @endif @if (count($relationManagers)) @if (! $this->hasCombinedRelationManagerTabsWithForm()) @endif @if ($this->hasCombinedRelationManagerTabsWithForm()) {{ $form() }} @endif @endif