<?php $__env->startSection('page_title', __('Google reCaptcha Control')); ?>
<?php $__env->startSection('content'); ?>
<div class="main-content">
	<section class="section">
		<div class="section-header">
			<h1><?php echo app('translator')->get('Google reCaptcha Control'); ?></h1>
			<div class="section-header-breadcrumb">
				<div class="breadcrumb-item active">
					<a href="<?php echo e(route('settings')); ?>"><?php echo app('translator')->get('Settings'); ?></a>
				</div>
				<div class="breadcrumb-item active">
					<a href="<?php echo e(route('plugin.config')); ?>"><?php echo app('translator')->get('Plugin'); ?></a>
				</div>

				<div class="breadcrumb-item"><?php echo app('translator')->get('Google reCaptcha Control'); ?></div>
			</div>
		</div>

		<div class="section-body">
			<div class="row mt-sm-4">
				<div class="col-12 col-md-4 col-lg-3">
					<?php echo $__env->make('admin.control_panel.components.sidebar', ['settings' => config('generalsettings.plugin'), 'suffix' => ''], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
				</div>
				<div class="col-12 col-md-8 col-lg-9">
					<div class="container-fluid" id="container-wrapper">
						<div class="card mb-4 card-primary shadow">
							<div class="card-header py-3 d-flex flex-row align-items-center justify-content-between">
								<h6 class="m-0 font-weight-bold text-primary"><?php echo app('translator')->get('Google reCaptcha Control'); ?></h6>
							</div>
							<div class="card-body">
								<div class="row justify-content-center">
									<div class="col-md-10">
										<form action="<?php echo e(route('google.recaptcha.control')); ?>" method="post">
											<?php echo csrf_field(); ?>
											<div class="row">
												<div class="col-md-12">
													<div class="form-group">
														<label for="NOCAPTCHA_SECRET"><?php echo app('translator')->get('NOCAPTCHA SECRET'); ?></label>
														<input type="text" name="NOCAPTCHA_SECRET" value="<?php echo e(old('NOCAPTCHA_SECRET',env('NOCAPTCHA_SECRET'))); ?>" placeholder="<?php echo app('translator')->get('NOCAPTCHA_SECRET'); ?>"
															   class="form-control <?php $__errorArgs = ['NOCAPTCHA_SECRET'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>">
														<div class="invalid-feedback"><?php $__errorArgs = ['NOCAPTCHA_SECRET'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <?php echo app('translator')->get($message); ?> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?></div>
													</div>
												</div>
												<div class="col-md-12">
													<div class="form-group">
														<label for="NOCAPTCHA_SITEKEY"><?php echo app('translator')->get('NOCAPTCHA SITEKEY'); ?></label>
														<input type="text" name="NOCAPTCHA_SITEKEY" value="<?php echo e(old('NOCAPTCHA_SITEKEY',env('NOCAPTCHA_SITEKEY'))); ?>" placeholder="<?php echo app('translator')->get('NOCAPTCHA SITEKEY'); ?>"
															   class="form-control <?php $__errorArgs = ['NOCAPTCHA_SITEKEY'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> is-invalid <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>">
														<div class="invalid-feedback"><?php $__errorArgs = ['NOCAPTCHA_SITEKEY'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <?php echo app('translator')->get($message); ?> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?></div>
													</div>
												</div>
												<div class="col-md-6">
													<div class="form-group">
														<label><?php echo app('translator')->get('Login Status'); ?></label>
														<div class="selectgroup w-100">
															<label class="selectgroup-item">
																<input type="radio" name="reCaptcha_status_login" value="0"
																	   class="selectgroup-input" <?php echo e(old('reCaptcha_status_login', $basicControl->reCaptcha_status_login) == 0 ? 'checked' : ''); ?>>
																<span class="selectgroup-button"><?php echo app('translator')->get('OFF'); ?></span>
															</label>
															<label class="selectgroup-item">
																<input type="radio" name="reCaptcha_status_login" value="1"
																	   class="selectgroup-input" <?php echo e(old('reCaptcha_status_login', $basicControl->reCaptcha_status_login) == 1 ? 'checked' : ''); ?>>
																<span class="selectgroup-button"><?php echo app('translator')->get('ON'); ?></span>
															</label>
														</div>
														<?php $__errorArgs = ['reCaptcha_status_login'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
															<span class="text-danger" role="alert">
																<strong><?php echo e(__($message)); ?></strong>
															</span>
														<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
													</div>
												</div>
												<div class="col-md-6">
													<div class="form-group">
														<label><?php echo app('translator')->get('Registration Status'); ?></label>
														<div class="selectgroup w-100">
															<label class="selectgroup-item">
																<input type="radio" name="reCaptcha_status_registration" value="0"
																	   class="selectgroup-input" <?php echo e(old('reCaptcha_status_registration', $basicControl->reCaptcha_status_registration) == 0 ? 'checked' : ''); ?>>
																<span class="selectgroup-button"><?php echo app('translator')->get('OFF'); ?></span>
															</label>
															<label class="selectgroup-item">
																<input type="radio" name="reCaptcha_status_registration" value="1"
																	   class="selectgroup-input" <?php echo e(old('reCaptcha_status_registration', $basicControl->reCaptcha_status_registration) == 1 ? 'checked' : ''); ?>>
																<span class="selectgroup-button"><?php echo app('translator')->get('ON'); ?></span>
															</label>
														</div>
														<?php $__errorArgs = ['reCaptcha_status_registration'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
															<span class="text-danger" role="alert">
																<strong><?php echo e(__($message)); ?></strong>
															</span>
														<?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
													</div>
												</div>
											</div>
											<div class="form-group">
												<button type="submit" name="submit" class="btn btn-primary btn-sm btn-block"><?php echo app('translator')->get('Save changes'); ?></button>
											</div>
										</form>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>

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

<?php echo $__env->make('admin.layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH E:\xamp\htdocs\Paysecure-wallet\project\resources\views/admin/control_panel/googleReCaptchaControl.blade.php ENDPATH**/ ?>