@extends('layout.admin.master') @section('lib-css') @endsection @push('custom-css') @endpush @section('content')
@if($formDetails)
@foreach($formDetails->form_section as $section)
{{$section->name}}
@foreach($section->form_section_fields as $field)
@php $is_required = $field->is_required ? 'required="required"' : ''; $is_readonly = $field->is_readonly ? 'readonly="readonly"' : ''; $is_disabled = $field->is_disabled ? 'disabled="disabled"' : ''; @endphp @if($field->field_type == 'input') @if($field->data_type == 'radio')
@foreach($field->options as $params) @endforeach @else @endif @elseif($field->field_type == 'select') @elseif($field->field_type == 'textarea') @endif
@endforeach
@endforeach
@else

Please Complete the form

@endif
@endsection @section('lib-js') @endsection