@php $aktif = $tabs[$tab]; @endphp
@foreach ($tabs as $key => $definition) {{ $definition['label'] }} @endforeach @if ($errors->any()) Periksa isian yang ditandai lalu coba lagi. @endif
@csrf @method('PUT') @foreach ($aktif['fields'] as $field) @php $type = $field['type']; $attrs = $field['attrs'] ?? []; $full = ($field['span'] ?? null) === 'full' || $type === 'textarea'; @endphp
$full])> @if ($type === 'select') @elseif ($type === 'textarea') @elseif ($type === 'checkbox') @else @endif
@endforeach
Simpan pengaturan Atur ulang