<?php $__env->startSection('main_content'); ?>
<?php echo $__env->make('admin.layouts.nav', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
<?php echo $__env->make('admin.layouts.sidebar', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>

<div class="main-content">
    <section class="section">
        <div class="section-header d-flex justify-content-between">
            <h1><?php echo e(__('Menu Manage')); ?></h1>
        </div>
        <div class="section-body">
            <div class="row">
                <div class="col-lg-8">
                    <div class="card">
                        <div class="card-body">
                            <form action="<?php echo e(route('admin_menu_update')); ?>" method="post">
                            <?php echo csrf_field(); ?>
                            <div class="table-responsive">
                                <table class="table table-bordered table-sm" id="" width="100%" cellspacing="0">
                                    <thead>
                                    <tr>
                                        <th><?php echo e(__('SL')); ?></th>
                                        <th><?php echo e(__('Menu Name')); ?></th>
                                        <th><?php echo e(__('Menu Status')); ?></th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                        <?php $__currentLoopData = $menus; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                            <input type="hidden" name="menu_id[]" value="<?php echo e($row->id); ?>">
                                            <tr>
                                                <td><?php echo e($loop->iteration); ?></td>
                                                <td><?php echo e($row->name); ?></td>
                                                <td>
                                                    <select name="status[]" class="form-select">
                                                        <option value="Show" <?php if($row->status == 'Show'): ?> selected <?php endif; ?>><?php echo e(__('Show')); ?></option>
                                                        <option value="Hide" <?php if($row->status == 'Hide'): ?> selected <?php endif; ?>><?php echo e(__('Hide')); ?></option>
                                                    </select>
                                                </td>
                                            </tr>
                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                    </tbody>
                                </table>
                            </div>
                            <button type="submit" class="btn btn-success"><?php echo e(__('Update')); ?></button>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
</div>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layouts.master', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /Applications/MAMP/htdocs/phpscriptpoint/lawyer/lawyer/cms/main_files/resources/views/admin/menu/index.blade.php ENDPATH**/ ?>