@php $isEdit = $isEdit ?? false; $action = $isEdit ? route('master-data.update', [$type, $record->id]) : route('master-data.store', $type); $method = $isEdit ? 'PUT' : 'POST'; @endphp
@csrf @method($method)
@foreach($display['columns'] as $col)
@if(($col['type'] ?? 'text') === 'select') @else @endif @error($col['k'])

{{ $message }}

@enderror
@endforeach
Cancel