<?php $userMenus = Session::get('user_menus');
 ?>
<div class="sidebar">
    <ul class="sidebar-ul">
        <?php if(!empty(Session::get('user_menus'))): ?>
            <?php $__currentLoopData = $userMenus; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $menu): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <?php if($menu->children->isNotEmpty()): ?>
                    <li class="sidebar-li-rl">
                        <a href="javascript:void(0)"><i class="<?php echo e($menu->icon); ?>"></i> <span class="collapse-span"><?php echo e($menu->label); ?></span></a>
                        <ul class="sidebar-ul-child">
                            <?php $__currentLoopData = $menu->children; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $child): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <li><a href="<?php echo e(route($child->route)); ?>"><?php echo e($child->label); ?></a></li>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </ul>
                    </li>
                <?php else: ?>
                    <li class="<?php echo e(request()->routeIs($menu->route) ? 'active' : ''); ?>">
                        <a href="<?php echo e(route($menu->route)); ?>"><i class="<?php echo e($menu->icon); ?>"></i> <span class="collapse-span"><?php echo e($menu->label); ?></span></a>
                    </li>
                <?php endif; ?>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        <?php endif; ?>
    </ul>
</div>
<?php /**PATH /home/educatio/public_html/nari.hosteldesk.in/resources/views/layouts/admin/partials/sidebar.blade.php ENDPATH**/ ?>