@csrf
{{ translate('Verification info')}}
@php $verification_form = \App\BusinessSetting::where('type', 'verification_form')->first()->value; @endphp
@foreach (json_decode($verification_form) as $key => $element) @if ($element->type == 'text')
label == "Date") class="form-control mb-3" id="datepicker" @else class="form-control mb-3" @endif placeholder="{{ translate($element->label) }}" name="element_{{ $key }}" required>
@elseif($element->type == 'file')
@elseif ($element->type == 'select' && is_array(json_decode($element->options)))
@elseif ($element->type == 'multi_select' && is_array(json_decode($element->options)))
@elseif ($element->type == 'radio')
@foreach (json_decode($element->options) as $value)
@endforeach
@endif @endforeach