{{-- Dynamic field section renderer. Receives $sections : Collection> from DynamicFormService. NOTHING here is field-specific — it just loops over the data-driven definitions. --}} @if($sections->isEmpty())

{{ __('forms.no_fields') }}

@else @foreach($sections as $sectionKey => $fields)
{{ __('forms.sections.' . $sectionKey) }}
@foreach($fields as $field)
@include('applications.fields._field', ['field' => $field])
@endforeach
@endforeach @endif