{{-- This view has been merged with edit.blade.php into form.blade.php --}} {{-- Redirecting to the unified form view --}} @include('data-management.dynamic-forms.form') Back to Data Entries @else Back to Data Entries @endif @endsection @section('content')
@if($dataType->icon) @endif
Create New {{ $dataType->name }}

{{ $dataType->description ?: 'Fill out the form below to create a new data entry' }}

@csrf
@foreach($sections as $section)
@if($section->icon) @else @endif {{ $section->name }}
@if($section->collapsible) @endif
@if($section->description) {{ $section->description }} @endif
@if($section->fields->count() > 0)
@foreach($section->fields as $field)
@include('data-management.dynamic-forms.partials.form-field', ['field' => $field, 'value' => old($field->name, $field->default_value)])
@endforeach
@else

No fields configured for this section.

@endif
@endforeach
@if(isset($isManageDataRoute) && $isManageDataRoute) Cancel @else Cancel @endif
Sections Overview
{{ $sections->count() }} sections configured
@foreach($sections as $index => $section)
@if($section->icon) @else @endif {{ $section->name }}
{{ $section->fields->count() }} fields
@endforeach
Form Progress
Completion 0%
0
Completed
{{ $allFields->where('required', true)->count() }}
Required
{{ $allFields->count() }}
Total
Validation Status

Start filling the form to see validation status

Quick Actions

@endsection @push('scripts') @endpush @push('styles') @endpush