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