<?php $__env->startSection('content'); ?>
<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); ?>">
        <?php if($wbsetting ?? ''  && $wbsetting->id): ?>
            <?php echo method_field('PUT'); ?>
        <?php endif; ?>
        <?php echo csrf_field(); ?>

             <div class="form-group col-lg-6">
            <label><?php echo e(meta('key', getCurrentLocale()) ?? __('wbsettings.key')); ?> </label>
            <textarea disabled type="text" class="form-control <?php echo e($errors->has('key') ? 'is-invalid' : ''); ?>" name="key" placeholder="<?php echo e(meta('key', getCurrentLocale()) ??__('wbsettings.key')); ?>" ><?php echo e(old("key", $wbsetting->key ?? "")); ?></textarea>
        </div>
         <div class="form-group col-lg-6">
            <label><?php echo e(meta('value', getCurrentLocale()) ?? __('wbsettings.value')); ?> </label>
            <textarea type="text" class="form-control <?php echo e($errors->has('value') ? 'is-invalid' : ''); ?>" name="value" placeholder="<?php echo e(meta('value', getCurrentLocale()) ??__('wbsettings.value')); ?>"><?php echo e(old("value", $wbsetting->value ?? "")); ?></textarea>
        </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="//cdn.tinymce.com/4/tinymce.min.js"></script>
    <script>
        let route_prefix = "<?php echo e(url(config('lfm.prefix'))); ?>",
            url = "<?php echo e(url('/')); ?>/",
            url_answer = "<?php echo e(url('/')); ?>/admin/answerdata",
            url_question = "<?php echo e(url('/')); ?>/admin/questiondata",
            imagePath = "<?php echo e(asset('')); ?>";
    </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>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('admin.layouts.container', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/omaralyomhost/public_html/green_apple/resources/views/admin/wbsettings/form.blade.php ENDPATH**/ ?>