<?php $__env->startSection('title','Change Password | '); ?>
<?php $__env->startSection('content'); ?>
<!-- Content Header (Page header) -->
<div class="content-header">
    <div class="container-fluid">
        <div class="row mb-2">
            <div class="col-sm-6">
                <h1 class="m-0">Change Password</h1>
            </div><!-- /.col -->
            <div class="col-sm-6">
                <ol class="breadcrumb float-sm-right">
                    <li class="breadcrumb-item"><a href="#">Home</a></li>
                    <li class="breadcrumb-item active">Change Password</li>
                </ol>
            </div><!-- /.col -->
        </div><!-- /.row -->
    </div><!-- /.container-fluid -->
</div>
<!-- /.content-header -->
<!-- Main content -->
<section class="content">
    <div class="container-fluid">

        <div class="card card-default">
            <div class="card-header">
                <h3 class="card-title">Change Password</h3>
                <div class="card-tools">
                    <button type="button" class="btn btn-tool" data-card-widget="collapse">
                        <i class="fas fa-minus"></i>
                    </button>
                </div>
            </div>
            <!-- /.card-header -->
            <div class="card-body">
                <?php if(session('success')): ?>
                    <div class="alert alert-success alert-dismissible fade show" role="alert">
                        <strong><?php echo e(session('success')); ?></strong>
                        <button type="button" class="close" data-dismiss="alert" aria-label="Close">
                            <span aria-hidden="true">&times;</span>
                        </button>
                    </div>
                <?php endif; ?>
                <?php if(session('error')): ?>
                    <div class="alert alert-danger alert-dismissible fade show" role="alert">
                        <strong><?php echo e(session('error')); ?></strong>
                        <button type="button" class="close" data-dismiss="alert" aria-label="Close">
                            <span aria-hidden="true">&times;</span>
                        </button>
                    </div>
                <?php endif; ?>
                <?php if(session('warning')): ?>
                    <div class="alert alert-warning alert-dismissible fade show" role="alert">
                        <strong><?php echo e(session('warning')); ?></strong>
                        <button type="button" class="close" data-dismiss="alert" aria-label="Close">
                            <span aria-hidden="true">&times;</span>
                        </button>
                    </div>
                <?php endif; ?>
                <form action="<?php echo e(route('user.update.password')); ?>" method="post" autocomplete="off">
                    <?php echo csrf_field(); ?>
                    <input type="hidden" name="id" value="<?php echo e($user_id); ?>">
                    <div class="row">
                        <div class="col-md-6 offset-md-3">
                            <div class="form-group">
                                <label for="current_password">Current Password</label>
                                <input type="password" name="current_password"
                                    class="form-control   <?php if( $errors->has('current_password')): ?> is-invalid border-danger  <?php endif; ?>"
                                    id="current_password"
                                    placeholder="Current Password">
                                <?php if($errors->has('current_password')): ?>
                                    <span id="current_password-error"
                                        class="error text-danger invalid-feedback"><?php echo e($errors->first('current_password')); ?></span>
                                    <small></small>
                                <?php endif; ?>
                            </div>
                        </div>
                        <div class="col-md-6 offset-md-3">
                            <div class="form-group">
                                <label for="new_password">New Password</label>
                                <input type="password" name="new_password"
                                    class="form-control   <?php if( $errors->has('new_password')): ?> is-invalid border-danger  <?php endif; ?>"
                                     id="new_password"
                                    placeholder="New Password">
                                <?php if($errors->has('new_password')): ?>
                                    <span id="new_password-error"
                                        class="error text-danger invalid-feedback"><?php echo e($errors->first('new_password')); ?></span>
                                    <small></small>
                                <?php endif; ?>
                            </div>
                        </div>
                        <div class="col-md-6 offset-md-3">
                            <div class="form-group">
                                <label for="confirm_password">Confirm Password</label>
                                <input type="password" name="confirm_password"
                                    class="form-control   <?php if( $errors->has('confirm_password')): ?> is-invalid border-danger  <?php endif; ?>"
                                     id="confirm_password"
                                    placeholder="Confirm Password">
                                <?php if($errors->has('confirm_password')): ?>
                                    <span id="confirm_password-error"
                                        class="error text-danger invalid-feedback"><?php echo e($errors->first('confirm_password')); ?></span>
                                    <small></small>
                                <?php endif; ?>
                            </div>
                        </div>
                        <div class="col-md-6 offset-md-3">
                            <div class="form-group">
                                <button type="submit" class="btn w-100 btn-primary">Change Password</button>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
        </div>
        <!-- /.card -->
    </div>
    <!--/. container-fluid -->
</section>
<!-- /.content -->

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

<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/html/claim_and_case_management/resources/views/pages/employees/changePassword.blade.php ENDPATH**/ ?>