@extends('layouts.appmin')

@section('content')
<div class="container">
    <h3 class="mb-4">Tambah Pengumuman</h3>

    <form action="{{ route('pengumuman.store') }}" method="POST">
        @csrf
        <div class="mb-3">
            <label for="keterangan" class="form-label">Keterangan</label>
            <input type="text" name="keterangan" class="form-control" required>
        </div>

        <div class="mb-3">
            <label for="tarikh_mula_papar" class="form-label">Tarikh Mula Papar</label>
            <input type="date" name="tarikh_mula_papar" class="form-control" required>
        </div>

        <div class="mb-3">
            <label for="tarikh_tamat_papar" class="form-label">Tarikh Tamat Papar</label>
            <input type="date" name="tarikh_tamat_papar" class="form-control" required>
        </div>

        <button type="submit" class="btn btn-primary">Simpan</button>
    </form>
</div>
@endsection