

<?php $__env->startSection('content'); ?>
    <?php if(session('message')): ?>
        <div class="alert alert-success email_success"><?php echo e(session('message')); ?></div>
    <?php endif; ?>
    <div class="side-title">
        <h3><?php echo e($head ?? ''); ?></h3>
    </div>

    <div class="border-item">
        <form class="form-row" method="post" action="<?php echo e($action); ?>" enctype="multipart/form-data">

            <?php if($settings): ?>
                <input type="hidden" name="update" value="true">
            <?php endif; ?>
            <?php echo csrf_field(); ?>
            <ul class="nav nav-tabs container" role="tablist">
                <li class="nav-item">
                    <a class="nav-link active" data-toggle="tab" href="#main"><?php echo e(__('settings.main')); ?></a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" data-toggle="tab" href="#score"> <?php echo e(__('settings.score')); ?> </a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" data-toggle="tab" href="#financial"> <?php echo e(__('settings.financial')); ?> </a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" data-toggle="tab" href="#others"> <?php echo e(__('settings.others')); ?> </a>
                </li>
            </ul>

            <!-- Tab panes -->
            <div class="tab-content container ">
                <div id="main" class="tab-pane active"><br/>
                    <div class="form-row"><?php echo $__env->make('admin.settings.main', ['settings', $settings], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?></div>
                </div>
                <div id="score" class="tab-pane"><br/>
                    <div class="form-row"><?php echo $__env->make('admin.settings.score', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?></div>
                </div>
                <div id="financial" class="tab-pane"><br/>
                    <div class="form-row"> <?php echo $__env->make('admin.settings.financial', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> </div>
                </div>
                <div id="others" class="tab-pane"><br/>
                    <div class="form-row"><?php echo $__env->make('admin.settings.others', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?></div>
                </div>
            </div>
            <div class="text-center mt-5 col-12">
                <button class="butn"><span><?php echo e(__('dashboard.save')); ?></span></button>
            </div>
        </form>
    </div>

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

<?php $__env->startSection('inner_js'); ?>
    <!-- Editor JS files -->
    <script src="<?php echo e(asset('/assets/admin/js/lib/tinymce.min.js')); ?>"></script>
    
    <script>
        var route_prefix = "<?php echo e(url(config('lfm.prefix'))); ?>";
        var url = "<?php echo e(url('/')); ?>/";
    </script>
    <script src="<?php echo e(asset('assets/admin/js/editor.js')); ?>"></script>
    <script src="<?php echo e(asset('assets/admin/js/lfm.js')); ?>"></script>
    <script>
        $(document).ready(function () {
            let interVal = setInterval(function () {
                $('.email_success').slideUp();
                clearInterval(interVal);
            }, 2000)
        })
    </script>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.layouts.container', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\wamp64\www\gam3iea\resources\views/admin/settings/form.blade.php ENDPATH**/ ?>