{{-- Kolom form bernomor, dipakai form inquiry dan trainer. Tiap kolom: [nama, tipe, wajib, ikon, autocomplete, maks, placeholder, lebar penuh]; untuk number "maks" = nilai maksimum, untuk file = ukuran (MB). --}} @foreach ($groups as $g => [$title, $sub, $fields])
{{ $g + 1 }}

{{ $title }}

{{ $sub }}

@foreach ($fields as [$field, $type, $required, $icon, $auto, $max, $hint, $wide]) @if ($type === 'chips')
{{ $labels[$field] }}
@foreach ($methods as $m) @endforeach
@error($field){{ $message }}@enderror
@else
@if ($icon)@endif @if ($type === 'textarea') @elseif ($type === 'file') @else @endif
@if ($type === 'file'){{ $hint }}@endif @error($field){{ $message }}@enderror
@endif @endforeach
@endforeach