<?php $__env->startSection('admin.setting.breadcrumbs'); ?>
    <div class="row">
        <div class="col-12">
            <div class="custome-breadcrumb">
                <?php echo e(Breadcrumbs::render('setting-page')); ?>

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

<?php $__env->startSection('admin.setting.layout'); ?>
    <div class="col-12 md:col-8 xl:col-9">
        <div class="db-card">
            <div class="db-card-header">
                <h3 class="db-card-title"><?php echo e(__('all.page')); ?></h3>
            </div>
            <div class="db-card-body">
                <form class="form-horizontal" method="POST" action="<?php echo e(route('admin.setting.page-update')); ?>">
                    <?php echo csrf_field(); ?>
                    <div class="row">
                        <div class="col-12 sm:col-12">
                            <label class="db-field-title"><?php echo e(__('all.terms_condition_setting')); ?></label>
                            <textarea class="db-field-control" name="terms_condition" id="editor1"><?php echo e(setting('terms_condition')); ?></textarea>
                        </div>
                        <div class="col-12">
                            <button class="text-white db-btn bg-primary">
                                <i class="fa-solid fa-circle-check"></i>
                                <span><?php echo e(__('all.button')); ?></span>
                            </button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php $__env->startPush('css'); ?>
    <style>
        .ck-editor__editable {
            height: 300px !important;
            min-height: 300px !important;
            max-height: 300px !important;
            overflow-y: scroll !important;
            border: 1px solid #ccc !important;
            border-radius: 5px;
        }
        .ck-editor__editable:focus {
            outline: none !important;
        }
    </style>
<?php $__env->stopPush(); ?>

<?php $__env->startPush('js'); ?>
    <script src="https://cdn.ckeditor.com/ckeditor5/36.0.1/classic/ckeditor.js"></script>
    <script>
        ClassicEditor
            .create(document.querySelector('#editor1'), {
                toolbar: {
                    shouldNotGroupWhenFull: true
                },
                removePlugins: ['ResizeObserver'],
            })
            .then(editor => {
                const editableElement = editor.ui.view.editable.element;
                editableElement.style.height    = "300px";
                editableElement.style.minHeight = "300px";
                editableElement.style.maxHeight = "300px";
                editableElement.style.overflowY = "scroll";
            })
            .catch(error => {
                console.error(error);
            });
    </script>
<?php $__env->stopPush(); ?>

<?php echo $__env->make('admin.setting.index', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Users/kawsaruddin/Workspace/8.2/quickpass/resources/views/admin/setting/page.blade.php ENDPATH**/ ?>