

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

    <!-- /.login-logo -->
    <br>
    <div class="col-md-6">
    <div class="login-box-body">
        <h3 class="login-box-msg">Change password</h3>
        <br>
        <?php if($message = Session::get('error')): ?>
            <p class="text-danger">
                <strong><?php echo e($message); ?></strong>
            </p>
        <?php endif; ?>
        
            <form method="POST" action="<?php echo e(route('upt_pass')); ?>">
                <?php echo csrf_field(); ?>

                

                <div class="form-group has-feedback">
                    <input id="current_password" type="password" name="current_password" class="form-control<?php echo e($errors->has('current_password') ? ' is-invalid' : ''); ?>" placeholder="Current password" value="<?php echo e(old('current_password')); ?>" required>
                    <span class="fa fa-lock form-control-feedback"></span>

                    <?php if($errors->has('current_password')): ?>
                        <span class="text-danger">
                                        <strong><?php echo e($errors->first('current_password')); ?></strong>
                                    </span>
                    <?php endif; ?>
                    
                </div>

                <div class="form-group has-feedback">
                    <input id="password" type="password" name="password" class="form-control<?php echo e($errors->has('password') ? ' is-invalid' : ''); ?>" placeholder="Password" value="<?php echo e(old('password')); ?>" required>
                    <span class="fa fa-key form-control-feedback"></span>

                    <?php if($errors->has('password')): ?>
                        <span class="text-danger">
                                        <strong><?php echo e($errors->first('password')); ?></strong>
                                    </span>
                    <?php endif; ?>
                </div>

                <div class="form-group has-feedback">
                    <input id="password_confirmation" type="password" name="password_confirmation" class="form-control<?php echo e($errors->has('password_confirmation') ? ' is-invalid' : ''); ?>" placeholder="Confirm Password" required>
                    <span class="fa fa-key form-control-feedback"></span>
                </div>


                <div class="form-group row mb-0">
                    <div class="col-md-6 offset-md-4">
                        <button type="submit" class="btn btn-primary">
                            <?php echo e(__('Change Password')); ?>

                        </button>
                        <a href="<?php echo e(url()->previous()); ?>" class="btn btn-danger"><span class="fa fa-times"></span> Cancel </a>
                    </div>
                </div>
                
            </form>
    </div>

</div>

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

<?php echo $__env->make('layouts', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\glass_report\resources\views/auth/change_pass.blade.php ENDPATH**/ ?>