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