
<?php $__env->startSection('title'); ?>
    Change Password
<?php $__env->stopSection(); ?>

<?php $__env->startSection('styles'); ?>
    <style>
        label {
            text-transform: capitalize;
        }
    </style>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>
    <div class="row">
        <div class="col-12">
            <h4 class="card-title">Change Your Password</h4>
            <p class="card-title-desc">Fill all information below</p>

            <form action="<?php echo e(route('profile.password.update')); ?>" method="POST" role="form" id="form1"
                  enctype="multipart/form-data">
                <?php echo csrf_field(); ?>
                <div class="row">
                    <div class="col-md-4 mt-3">
                        <div class="form-group">
                            <label class="form-label" for="old_password">Old Password <span class="text-danger">*</span></label>
                            <input type="password" class="form-control <?php $__errorArgs = ['old_password'];
$__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); ?>"
                                   name="old_password" id="old_password" placeholder="Enter your old password"/>
                        </div>
                    </div>
                    <div class="col-md-4 mt-3">
                        <div class="form-group">
                            <label class="form-label" for="password">New Password <span class="text-danger">*</span></label>
                            <input type="password" class="form-control <?php $__errorArgs = ['password'];
$__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); ?>"
                                   name="password" id="password" placeholder="Enter your new password"/>
                        </div>
                    </div>
                    <div class="col-md-4 mt-3">
                        <div class="form-group">
                            <label class="form-label" for="password_confirmation">Confirm New Password <span class="text-danger">*</span></label>
                            <input type="password" class="form-control" name="password_confirmation" id="password_confirmation"
                                   placeholder="Re-type password to confirm"/>
                        </div>
                    </div>
                </div>
                <div class="mt-4 d-flex justify-content-end">
                    <div>
                        <button type="submit" class="btn btn-primary" >Update Password</button>
                    </div>
                </div>
            </form>

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


<?php echo $__env->make('backend.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\laragon\www\practice\ml_firm\resources\views/backend/user/profile/change_password.blade.php ENDPATH**/ ?>