<?php $__env->startSection('page_title'); ?>
    <?php echo e(__('admin::app.configuration.title')); ?>

<?php $__env->stopSection(); ?>

<?php $__env->startSection('content-wrapper'); ?>
    <div class="content full-page adjacent-center">
        <form method="POST" action="" @submit.prevent="onSubmit" enctype="multipart/form-data">

            <div class="page-header">

                <?php echo e(Breadcrumbs::render('configuration.slug', request('slug'))); ?>


                <div class="page-title">
                    <h1>
                        <?php echo e(__('admin::app.configuration.title')); ?>

                    </h1>
                </div>
            </div>

            <div class="page-content">
                <div class="form-container">

                    <div class="nav-aside">
                        <ul class="sub-menubar">
                            <?php $__currentLoopData = app('core_config')->items; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <li class="sub-menu-item <?php echo e($item['key'] == request()->route('slug') ? 'active' : ''); ?>">
                                    <a href="<?php echo e(route('admin.configuration.index', $item['key'])); ?>">
                                        <?php echo e(isset($item['name']) ? trans($item['name']) : ''); ?>

                                    </a>
                                </li>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        </ul>
                    </div>

                    <div class="panel" style="overflow: hidden">
                        <div class="panel-header">
                            <button type="submit" class="btn btn-md btn-primary">
                                <?php echo e(__('admin::app.configuration.save-btn-title')); ?>

                            </button>

                            <a href="<?php echo e(route('admin.settings.users.index')); ?>">
                                <?php echo e(__('admin::app.settings.users.back')); ?>

                            </a>
                        </div>
                    
                        <?php echo csrf_field(); ?>

                        <?php if($groups = \Illuminate\Support\Arr::get(app('core_config')->items, request()->route('slug') . '.children')): ?>

                            <tabs>
                                <?php $__currentLoopData = $groups; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

                                    <tab :name="'<?php echo e(__($item['name'])); ?>'">

                                        <?php $__currentLoopData = $item['fields']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $field): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

                                            <?php echo $__env->make('admin::configuration.field-type', ['field' => $field], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

                                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

                                    </tab>

                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </tabs>

                        <?php endif; ?>

                    </div>

                </div>
            </div>

        </form>
    </div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin::layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\laravel-crm\packages\Webkul\Admin\src/resources/views/configuration/index.blade.php ENDPATH**/ ?>