<?php $__env->startSection('page_title', __('Edit Security Question')); ?>
<?php $__env->startSection('content'); ?>
<div class="main-content">
	<section class="section">
		<div class="section-header">
			<h1><?php echo app('translator')->get('Edit Security Question'); ?></h1>
			<div class="section-header-breadcrumb">
				<div class="breadcrumb-item active">
					<a href="<?php echo e(route('admin.home')); ?>"><?php echo app('translator')->get('Dashboard'); ?></a>
				</div>
				<div class="breadcrumb-item"><a href="<?php echo e(route('securityQuestion.index')); ?>"><?php echo app('translator')->get('Security Questions'); ?></a></div>
				<div class="breadcrumb-item"><?php echo app('translator')->get('Edit Security Question'); ?></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.settings'), 'suffix' => 'Settings'], \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="row justify-content-md-center">
							<div class="col-lg-12">
								<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('Edit Security Question'); ?></h6>
									</div>
									<div class="card-body">
										<form method="post" action="<?php echo e(route('securityQuestion.update',$securityQuestion)); ?>" enctype="multipart/form-data">
									  	<?php echo csrf_field(); ?>
									  	<?php echo method_field('PUT'); ?>
									  	<div class="form-group">
										  <label for="question"><?php echo app('translator')->get('Question'); ?></label>
										  <input type="text" name="question" placeholder="<?php echo app('translator')->get('eg:- What is your pet name?'); ?>"
												 class="form-control <?php $__errorArgs = ['question'];
$__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); ?>"
												 value="<?php echo app('translator')->get($securityQuestion->question); ?>">
										  <div class="invalid-feedback">
											  <?php $__errorArgs = ['question'];
$__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>
									  	<button type="submit"
											  class="btn btn-primary btn-sm btn-block"><?php echo app('translator')->get('Update Security Question'); ?></button>
								  		</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/securityQuestion/edit.blade.php ENDPATH**/ ?>