<!-- Modal: Edit Periode Pembelajaran -->
<div class="modal fade" id="editPeriodeModal" tabindex="-1" aria-labelledby="editPeriodeLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header bg-success bg-opacity-25">
                <h5 class="modal-title text-dark" id="editPeriodeLabel">Edit Periode Pembelajaran</h5>
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
            </div>
            <form id="editPeriodeForm" action="" method="POST">
                @csrf
                @method('PUT')
                <div class="modal-body">
                    <div class="mb-3">
                        <label class="form-label">Tahun Pelajaran</label>
                        <input id="edit_tahun_pelajaran" type="text" name="tahun_pelajaran" class="form-control" placeholder="2025/2026" pattern="\d{4}/\d{4}" required>
                    </div>
                    <div class="mb-3">
                        <label class="form-label">Semester</label>
                        <select id="edit_semester" name="semester" class="form-select">
                            <option value="Ganjil">Ganjil</option>
                            <option value="Genap">Genap</option>
                        </select>
                    </div>
                    <div class="mb-3">
                        <label class="form-label">Status</label>
                        <select id="edit_status" name="status" class="form-select">
                            <option value="aktif">Aktif</option>
                            <option value="tidak aktif">Tidak Aktif</option>
                        </select>
                    </div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Batal</button>
                    <button type="submit" class="btn btn-primary">Simpan Perubahan</button>
                </div>
            </form>
        </div>
    </div>
</div>
