<?php $__env->startSection('content'); ?>
<div class="container mt-4">
    <h2>Edit Jadwal Bel</h2>

    <form action="<?php echo e(route('jadwal-bel.update', $jadwal->id)); ?>" method="POST">
        <?php echo csrf_field(); ?>
        <?php echo method_field('PUT'); ?>

        <div class="form-group">
            <label for="hari">Hari</label>
            <select name="hari" class="form-control">
                <?php $__currentLoopData = ['Senin','Selasa','Rabu','Kamis','Jumat','Sabtu']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $hari): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <option value="<?php echo e($hari); ?>" <?php echo e($jadwal->hari == $hari ? 'selected' : ''); ?>><?php echo e($hari); ?></option>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </select>
        </div>

        <div class="form-group mt-2">
            <label for="jam">Jam</label>
            <input type="time" name="jam" class="form-control" value="<?php echo e($jadwal->jam); ?>" required>
        </div>

        <div class="form-group mt-2">
            <label for="keterangan">Keterangan</label>
            <input type="text" name="keterangan" class="form-control" value="<?php echo e($jadwal->keterangan); ?>">
        </div>

        <div class="form-group mt-2">
            <label for="file_suara">File Suara</label>
            <input type="text" name="file_suara" class="form-control" value="<?php echo e($jadwal->file_suara); ?>">
        </div>

        <button class="btn btn-success mt-3">Update</button>
        <a href="<?php echo e(route('jadwal-bel.index')); ?>" class="btn btn-secondary mt-3">Kembali</a>
    </form>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /var/www/html/bel-sekolah/resources/views/jadwal_bel/edit.blade.php ENDPATH**/ ?>