{{-- resources/views/admin/gejala/form.blade.php KEGUNAAN: Form tambah dan edit gejala. --}} @extends('admin.layouts.app') @section('title', isset($gejala) ? 'Edit Gejala' : 'Tambah Gejala') @section('content') @php $isEdit = isset($gejala); @endphp
Form {{ $isEdit ? 'Edit' : 'Tambah' }} Gejala
@csrf @if($isEdit) @method('PUT') @endif
@error('kode')
{{ $message }}
@enderror
Format: G01–G99. Tidak bisa diubah setelah disimpan.
@error('nama')
{{ $message }}
@enderror
Batal
@endsection