@if($projectId)
@method('PUT') @else @endif @csrf @foreach($sections as $key => $section)

{{$section->name ?? ''}}

@foreach($section->getFields as $input_key => $input) @if($input->getCondition) @if($form[$input->getCondition->parent_name] ?? '' == $input->getCondition->value) @switch($input->type) @case('textarea')
@break @case('radio')
    @foreach($input->decoded_value as $key => $value)
  • @endforeach
@break @case('checkbox')
    @foreach($input->decoded_value as $key => $value)
  • @endforeach
@break @case('text')
@break @case('file')
Drag & drop files here or browse to choose a file

Formats accepted Doc,{{$input->subheading ?? ''}}

@break @case('select')
@break @default nothing @endswitch @endif @else @switch($input->type) @case('textarea')
@break @case('radio')
    @foreach($input->decoded_value as $key => $value)
  • @endforeach
@break @case('checkbox')
    @foreach($input->decoded_value as $key => $value)
  • @endforeach
@break @case('text')
@break @case('file')
Drag & drop files here or browse to choose a file

Formats accepted Doc,{{$input->subheading ?? ''}}

@break @case('select')
@break @default nothing @endswitch @endif @endforeach
@if(!$loop->first) @endif @if($loop->last) @else @endif
@endforeach