@extends('layouts.app') @section('title', 'Input Pelanggaran') @section('content')
{{-- Header --}}

Input Pelanggaran

Catat pelanggaran siswa baru

@csrf {{-- Gradient header --}}

Form Pelanggaran Baru

Isi data pelanggaran dengan lengkap

{{-- ===== BAGIAN 1: DATA SISWA ===== --}}
Data Siswa
@if (request()->has('student_id'))
Siswa dipilih dari hasil Scan Wajah — periksa kembali sebelum menyimpan.
@endif
{{-- Search results dropdown --}}
{{-- Selected student card --}}

@error('student_id')

{{ $message }}

@enderror
{{-- ===== BAGIAN 2: PELANGGARAN ===== --}}
Detail Pelanggaran

Cari dan pilih satu atau lebih pelanggaran yang dilakukan

{{-- Search with dropdown --}}
{{-- Search results --}}
{{-- No results --}}

Tidak ditemukan untuk ""

@error('violation_type_ids')

{{ $message }}

@enderror @error('violation_type_ids.*')

{{ $message }}

@enderror
{{-- Selected types list --}} {{-- Empty state --}}
{{-- ===== BAGIAN 3: WAKTU & LOKASI ===== --}}
Waktu & Lokasi
{{-- ===== BAGIAN 4: CATATAN ===== --}}
Catatan
{{-- ===== BAGIAN 5: BUKTI FOTO ===== --}}
Bukti Foto (maks. 5 foto)
{{-- Upload placeholder --}}
@error('evidences.*')

{{ $message }}

@enderror
{{-- Footer --}}
Batal
@push('scripts') @endpush @endsection