@foreach($formData as $data)
@if($data->type == 'text') 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