@foreach($formData as $data)
@if($data->type == 'text') is_required == 'required') required @endif > @elseif($data->type == 'url') is_required == 'required') required @endif > @elseif($data->type == 'email') is_required == 'required') required @endif > @elseif($data->type == 'datetime') is_required == 'required') required @endif > @elseif($data->type == 'date') is_required == 'required') required @endif > @elseif($data->type == 'time') is_required == 'required') required @endif > @elseif($data->type == 'number') is_required == 'required') required @endif > @elseif($data->type == 'textarea') @elseif($data->type == 'select') @elseif($data->type == 'checkbox')
@foreach($data->options as $option)
@endforeach
@elseif($data->type == 'radio')
@foreach($data->options as $option)
label)) >
@endforeach
@elseif($data->type == 'file') is_required == 'required') required @endif accept="@foreach(explode(',',$data->extensions) as $ext) .{{ $ext }}, @endforeach" >
@lang('Supported mimes'): {{ $data->extensions }}
@endif
@endforeach
@push('script') @endpush