@php $profile = $config['form']['navbar']['profile']['input']; @endphp
@foreach ($profile as $k_p => $p) @if (empty($p['status'])) @continue @endif @if (str_contains($k_p, 'row_'))
@foreach ($p as $k_i => $i) @if (empty($i['status'])) @continue @endif @php $label = $i['label'] ?? __("field.{$k_i}"); $i_chk_req = !empty($i['validate']); $i_read = !empty($i['readonly']); @endphp
@if (in_array($k_i, ['password', 'password_confirmation']))
@elseif (in_array($i['type'], ['input', 'tel', 'mail', 'text', 'date', 'number'])) @endif
@endforeach
@endif @endforeach