@php $normal = $config['form']['navbar']['normal']['input']; $k_last = array_key_last($normal); @endphp
@foreach ($normal as $k_n => $n) @if (empty($n['status'])) @continue @endif @if (str_contains($k_n, 'row_'))
@foreach ($n 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'])) @endif
@endforeach
@else
@php $chk_req = !empty($c['validate']); $label = __("field.{$k_n}"); @endphp @if (in_array($c['type'], ['text', 'mail', 'tel'])) @endif
@endif @endforeach