<?php $__env->startSection('title', translate('Cookies Setup')); ?>

<?php $__env->startSection('content'); ?>
<div class="content container-fluid">
    <?php echo $__env->make('admin-views.business-settings.partial.business-settings-navmenu', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

    <div class="tab-content">
        <div class="tab-pane fade show active" id="business-setting">
            <form action="<?php echo e(route('admin.business-settings.store.cookies-setup-update')); ?>" method="post" enctype="multipart/form-data">
                <?php echo csrf_field(); ?>
                <?php ($cookies=\App\CentralLogics\Helpers::get_business_settings('cookies')); ?>
                <div class="row">
                    <div class="col-md-12 col-sm-12">
                        <div class="card">
                            <div class="card-body">
                                <div class="d-flex flex-wrap justify-content-between">
                                    <span class=""><?php echo e(translate('Cookies Text')); ?></span>
                                    <label class="switch--custom-label toggle-switch toggle-switch-sm d-inline-flex">
                                        <span class="mr-2 switch--custom-label-text text-primary on text-uppercase"><?php echo e($cookies?($cookies['status']==1? translate('off'): translate('on')):''); ?></span>
                                        <span class="mr-2 switch--custom-label-text off text-uppercase"><?php echo e($cookies?($cookies['status']==0? translate('on'): translate('off')):''); ?></span>
                                        <input type="checkbox" name="status" value="1" class="toggle-switch-input" <?php echo e($cookies?($cookies['status']==1?'checked':''):''); ?>>
                                        <span class="toggle-switch-label text">
                                            <span class="toggle-switch-indicator"></span>
                                        </span>
                                    </label>
                                </div>
                                <div class="form-group pt-3">
                                    <textarea name="text" class="form-control" rows="6" placeholder="<?php echo e(translate('Cookies text')); ?>" required><?php echo e($cookies['text']); ?></textarea>
                                </div>
                                <div class="btn--container justify-content-end">
                                    <button type="<?php echo e(env('APP_MODE')!='demo'?'submit':'button'); ?>"
                                            class="btn btn--primary call-demo"><?php echo e(translate('save')); ?></button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </form>
        </div>

    </div>

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

<?php echo $__env->make('layouts.admin.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/mimeld/admin.mxepto.mimeld.com/resources/views/admin-views/business-settings/cookies-setup-index.blade.php ENDPATH**/ ?>