<?php $__env->startSection('title', 'Tambah Data Menu'); ?>

<?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('menu')); ?>">Menu</a></li>
                <li class="breadcrumb-item active" aria-current="page">Tambah Menu</li>
            </ol>
        </nav>
        <div class="row">
            <div class="stretch-card">
                <div class="card">
                    <div class="card-body">
                        <h4 class="card-title">Tambah Gambar Menu</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 method="POST" action="<?php echo e(route('menu.store')); ?>">
                            <?php echo csrf_field(); ?>
                            <div class="form-group mb-2">
                                <label class="mb-2 mt-2">Kelompok Menu</label>
                                <select name="submenu_id" class="form-control">
                                    <option value="0">Tidak ada</option>
                                    <?php $__currentLoopData = $menus; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $menu): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <option value="<?php echo e($menu->menu_id); ?>"><?php echo e($menu->menu); ?></option>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </select>
                            </div>
                            <div class="form-group mb-2">
                                <label class="mb-2 mt-2">Menu</label>
                                <input type="text" name="menu" class="form-control" placeholder="Masukkan menu">
                            </div>
                            <div class="form-group mb-2">
                                <label class="mb-2 mt-2">Url</label>
                                <input type="text" name="url" class="form-control" placeholder="http://...">
                            </div>
                            <div class="form-group mb-2">
                                <label class="mb-2 mt-2">Urutan</label>
                                <input type="number" name="urutan" class="form-control">
                            </div>
                            <button type="submit" class="btn btn-primary mb-2 mt-2">Simpan</button>
                        </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/Biru-Kuning/resources/views/admin/menu/create.blade.php ENDPATH**/ ?>