

<?php $__env->startSection('content'); ?>

<div class="app-container">
    <header>
        
        <div class="logo">Change Password</div>
    </header>

    <section class="edit-profile-section">
        <div class="profile-avatar-edit">
             <?php if($user->profile_pic): ?>
        <img src="<?php echo e(asset('storage/app/public/' . $user->profile_pic)); ?>" alt="<?php echo e($user->name); ?>" id="profile-preview" class="imaged w100 rounded">
    <?php else: ?>
        <img src="<?php echo e(asset('storage/user_default.png')); ?>" id="profile-preview" alt="<?php echo e($user->name); ?>" class="imaged w100 rounded">
    <?php endif; ?>
             
        </div>

        <form class="edit-profile-form" action="<?php echo e(route('change_password')); ?>" method="POST" >
                            <?php echo csrf_field(); ?>
            
                             
            <div class="input-group">
                <label>Old Password</label>
                <input type="password" name="old_password"  placeholder="Old Password" required>
            </div>
            <div class="input-group">
                <label>New Password</label>
                <input type="password" name="new_password" placeholder="New Password"  required>
            </div>
            <div class="input-group">
                <label>Confirm New Password</label>
                <input type="password" name="new_password_confirmation"   placeholder="Confirm Password" required>
            </div>
             
            
             

            <button type="submit" class="btn-save-profile">Save Changes</button>
        </form>
    </section>


 
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.user', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/qfsworl3/public_html/resources/views/user/change_password.blade.php ENDPATH**/ ?>