
<?php $__env->startSection('title'); ?>
<?php echo e(__("message.Change Password")); ?>

<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
<!--Page header-->
<div class="page-header">
	<div class="page-leftheader">
		<h4 class="page-title mb-0 text-primary"><?php echo e(__("message.Change Password")); ?></h4>
	</div>	
</div>
<!--End Page header-->
<div class="row">
	<div class="col-xl-4 col-lg-12">
		<div class="card">
			<div class="card-body">
				<?php if(Session::has('message')): ?>
          		<div class="col-sm-12">
                     <div class="alert  <?php echo e(Session::get('alert-class', 'alert-info')); ?> alert-dismissible fade show" role="alert"><?php echo e(Session::get('message')); ?>

                        <button type="button" class="close" data-dismiss="alert" aria-label="Close">
                        <span aria-hidden="true">&times;</span>
                        </button>
                     </div>
                </div>
             	<?php endif; ?>
				<form  action="<?php echo e(route('update_admin_change_password')); ?>" method="post"> <?php echo e(csrf_field()); ?>

			 		<!-- <div class="row"> -->
					<div class="col-sm-12 col-md-12">
						<div class="form-group">
							<label class="form-label"><?php echo e(__("message.Old Password")); ?></label>
							<input type="password" class="form-control" id="oldPassword" name="oldPassword" placeholder="<?php echo e(__('message.Old Password')); ?>" onchange="checkcurrentpwd(this.value)">
                        	<input type="hidden" name="cpwd" id="cpwd" value="<?php echo e(__('message.Please Enter Correct Cureent Password')); ?>">
						</div>
					</div>
					<div class="col-sm-12 col-md-12">
						<div class="form-group">
							<label class="form-label"><?php echo e(__("message.New Password")); ?></label>
							<input type="password" class="form-control" id="newPassword" name="newPassword" placeholder="<?php echo e(__('message.New Password')); ?>">
						</div>
					</div>
					<div class="col-sm-12 col-md-12">
						<div class="form-group">
							<label class="form-label"><?php echo e(__("message.Confirm Password")); ?></label>
							<input type="password" class="form-control" id="confirmPassword" name="confirmPassword" placeholder="<?php echo e(__('message.Confirm Password')); ?>" onchange="checkbothpassword(this.value)">
                    		<input type="hidden" name="newpwd" id="newpwd" value="<?php echo e(__('message.New Password And Re Enter Password Must Be Same')); ?>">
						</div>
					</div>
					<div class="card-footer text-end">
						 <?php if(Session::get("is_demo")==1): ?>
                      <button type="button" class="btn btn-success" onclick="disablebtn()"><?php echo e(__('message.Change Password')); ?></button>
                      <?php else: ?>
                     <button type="submit" class="btn btn-success"><?php echo e(__('message.Change Password')); ?></button>
                       <?php endif; ?>
						<a href="javascript:void0;" class="btn btn-danger"><?php echo e(__("message.Cancel")); ?></a>
					</div>
					<!-- </div> -->
            	</form>
        	</div>
		</div>
	</div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.layout.index', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home2/freakd1c/public_html/demo/laboratory/resources/views/admin/changepassword.blade.php ENDPATH**/ ?>