@foreach($formData as $data) @php $FormValue=""; @endphp @if($withdraw) @foreach($withdraw->withdraw_information as $value) @if($value->name == $data->name) @php $FormValue=$value->value; @endphp @endif @endforeach @endif
@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 ,$FormValue)) >
@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