<?php $__env->startSection('title'); ?> User Change Password
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
    <style>
        .active {
            background-color: #007BFF !important;
            color: white !important;
        }
    </style>
    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">
        <!-- Main content -->
        <section class="content">
            <div class="container-fluid">
                <div class="row">
                    <div class="col-12">

                        <div class="card shadow mt-5">

                            <div class="card-header">
                                <h3 class="card-title">User Change Password</h3>
                            </div>

                            <!-- /.card-header -->
                            <div class="card-body">
                                <form action="<?php echo e(route('user.update-password')); ?>" method="POST"
                                      enctype="multipart/form-data"> <?php echo csrf_field(); ?>

                                    <div class="mx-auto col-md-6">

                                        <label for="Name">Email:</label>
                                        <input type="email" class="form-control" name="email"
                                               value="<?php echo e(Auth::user()->email); ?>" readonly style="min-height: 50px;padding: 14px;border-radius: 20px;">
                                    </div>

                                    <div class="mx-auto col-md-6 mt-3">

                                        <label for="Name">New Password</label>
                                        <input type="password" class="form-control form__field" name="new_password"
                                               placeholder="Enter New Password">
                                        <span
                                            class='text-danger'><?php $__errorArgs = ['new_password'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?><?php echo e($message); ?> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?></span>
                                    </div>

                                    <div class="mx-auto col-md-6 mt-3">

                                        <label for="Name">Confirm Password</label>
                                        <input type="password" class="form-control form__field" name="confirm_password"
                                               placeholder="Enter Confirm Password">
                                        <span
                                            class='text-danger'><?php $__errorArgs = ['confirm_password'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <?php echo e($message); ?> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?></span>

                                    </div>

                                    <div class="text-center mb-2 mt-4">
                                        <button id="submit_btn" class="btn btn-primary custom_btn">
                                            <i class="fa-solid fa-cloud-arrow-up"></i> Submit
                                        </button>
                                    </div>
                                </form>
                            </div>
                            <!-- /.card-body -->
                        </div>

                    </div>
                    <!-- /.col -->
                </div>
                <!-- /.row -->
            </div>
            <!-- /.container-fluid -->
        </section>
        <!-- /.content -->
    </div>
    <!-- /.content-wrapper -->

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

<?php echo $__env->make('layouts.user-layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/vagrant/projects/upsence/resources/views/user/auth/change-password.blade.php ENDPATH**/ ?>