@php $_navbarTabCount = 0; foreach ($config['form']['navbar'] ?? [] as $_nb) { if (!empty($_nb['status'])) { $_navbarTabCount++; } } @endphp
@if ($_navbarTabCount > 0)
@endif
@if ($method != 'page') @php $_backIndex = route("admin.{$module}.{$method}.index"); if ($module === 'period' && !empty($parentContentId ?? null)) { $_backIndex = route("admin.{$module}.{$method}.index", ['id' => $parentContentId]); } @endphp {{ __('action.' . ($action != 'view' ? 'cancel' : 'back')) }} @endif @if (mwz_roles("admin.{$module}.{$method}.save") && $action != 'view') @endif