<?php $__env->startSection('content'); ?>
    <div class="row">
        <div class="col-lg-6">
            <div class="panel">
                <div class="panel-heading">
                    <h3 class="panel-title text-center"><?php echo e(translate('Google reCAPTCHA Setting')); ?></h3>
                </div>
                <div class="panel-body">
                    <form class="form-horizontal" action="<?php echo e(route('google_recaptcha.update')); ?>" method="POST">
                        <?php echo csrf_field(); ?>
                        <div class="form-group">
                            <div class="col-lg-3">
                                <label class="control-label"><?php echo e(translate('Google reCAPTCHA')); ?></label>
                            </div>
                            <div class="col-lg-6">
                                <label class="switch">
                                    <input value="1" name="google_recaptcha" type="checkbox" <?php if(\App\BusinessSetting::where('type', 'google_recaptcha')->first()->value == 1): ?>
                                        checked
                                    <?php endif; ?>>
                                    <span class="slider round"></span>
                                </label>
                            </div>
                        </div>
                        <div class="form-group">
                            <input type="hidden" name="types[]" value="CAPTCHA_KEY">
                            <div class="col-lg-3">
                                <label class="control-label"><?php echo e(translate('Site KEY')); ?></label>
                            </div>
                            <div class="col-lg-6">
                                <input type="text" class="form-control" name="CAPTCHA_KEY" value="<?php echo e(env('CAPTCHA_KEY')); ?>" placeholder="<?php echo e(translate('Site KEY')); ?>" required>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-lg-12 text-right">
                                <button class="btn btn-purple" type="submit"><?php echo e(translate('Save')); ?></button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\shop\resources\views/business_settings/google_recaptcha.blade.php ENDPATH**/ ?>