@extends('layouts.app') @section('title', 'Apply for Leave') @section('content')
{{-- ── Top row ── --}}

Apply for Leave

Submit a new leave request

Leave History
{{-- ── Main card ── --}}
@if ($errors->any())
❌ Please fix the following errors:
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf {{-- Section: Leave Details --}}
Leave Details
{{-- Student Type --}}
{{-- Leave Type --}}
{{-- Warden (Hostel only, auto-selected) --}}

{{-- Section: Dates --}}
Leave Dates
{{-- From Date --}}
{{-- To Date --}}
{{-- Days Display --}}
Total Days
0 day(s)

{{-- Section: Reason (OPTIONAL) --}}
Leave Reason

{{-- Section: Attachment (OPTIONAL) --}} {{-- Buttons --}}
{{-- /card-body --}}
{{-- /card --}}
{{-- /wrap --}} @endsection