<?php $__env->startSection('title', 'Edit Pengaturan'); ?>

<?php $__env->startSection('content'); ?>
    <div class="page-content">
        <nav class="page-breadcrumb">
            <ol class="breadcrumb">
                <li class="breadcrumb-item"><a href="<?php echo e(route('dashboard')); ?>">Dashboard</a></li>
                <li class="breadcrumb-item"><a href="<?php echo e(route('settings')); ?>">Data Settings</a></li>
                <li class="breadcrumb-item active" aria-current="page">Edit Settings</li>
            </ol>
        </nav>
        <div class="row">
            <div class="stretch-card">
                <div class="card">
                    <div class="card-body">
                        <h4 class="card-title">Edit Settings</h4>

                        <?php if($errors->any()): ?>
                            <div id="error-alert" class="alert alert-danger">
                                <strong>Terjadi Kesalahan!</strong>
                                <ul>
                                    <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <li><?php echo e($error); ?></li>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </ul>
                            </div>
                        <?php endif; ?>

                        <form action="<?php echo e(route('settings.update', $setting->id_setting)); ?>" method="POST">
                            <?php echo csrf_field(); ?>
                            <?php echo method_field('PUT'); ?>
                            <div class="form-group mb-3">
                                <label class="form-label">Jenis Pengaturan</label>
                                <input class="form-control" name="jenis_set" value="<?php echo e($setting->jenis_set); ?>" required>
                            </div>
                            <div class="form-group mb-3">
                                <label class="form-label">Nama Pengaturan</label>
                                <input class="form-control" name="nama_set" value="<?php echo e($setting->nama_set); ?>" required>
                            </div>
                            <div class="form-group mb-3">
                                <label class="form-label">Nilai Pengaturan</label>
                                <input class="form-control" name="nilai_set" value="<?php echo e($setting->nilai_set); ?>">
                            </div>
                            <button type="submit" class="btn btn-primary">Update</button>
                            <a href="<?php echo e(route('settings')); ?>" class="btn btn-secondary">Batal</a>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('dashboard.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/edunesiaserver/public_html/K2/WEB_KAMPUS/WEB_TEMPLATE/Ijo-Kuning/resources/views/admin/setting/edit.blade.php ENDPATH**/ ?>