@props(['showStaffExtras' => false])
{{ __('Additional sections') }}

{{ __('Create custom sections to specify extra technical details and features.') }}

{{-- Custom sections loop --}} @foreach (collect($this->form->customSections) as $sectionIndex => $section)
@if ($showStaffExtras) @else
{{ $section['title'] ?? __('Technical details') }}
@endif
@if ($showStaffExtras)
@endif
@foreach ($section['fields'] ?? [] as $fieldIndex => $field)
@if ($showStaffExtras) @endif
@endforeach
@endforeach @if ($showStaffExtras)
@endif