@php $order = $config['form']['navbar']['order']['input']; $k_last = array_key_last($order); @endphp
@foreach ($order as $k_c => $c) @if (empty($c['status'])) @continue @endif @if (str_contains($k_c, 'row_'))
@foreach ($c as $k_i => $i) @if (empty($i['status'])) @continue @endif
@php $chk_req = !empty($i['validate']); $label = __("field.{$k_i}"); @endphp @if (in_array($i['type'], ['input', 'mail', 'tel', 'number'])) @elseif ($i['type'] == 'selection') @php $chk_option = !empty($data->{$k_i}) ? $data->{$k_i} : 1; @endphp @if (!empty($i['options'])) @foreach ($i['options'] as $k_o => $o) @endforeach @endif @endif
@endforeach
@endif @endforeach