

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

        <section class="pt-md-4 pb-md-0 bg-dark">
          <div class="container">
            <div class="row justify-content-between align-items-center">
              <div class="col-lg-8 col-md-9">
                <div class="d-none d-md-block">
                  <br>
                </div>
                <h1 class="d-md-block" style="color: white;">Cambiar contraseña</h1>
                <p class="lead"></p>           
              </div>
              <div class="col-md-3 d-none d-md-none">
               
              </div>
            </div> 
            <br>           
          </div>
        </section>  
        <section>
          <div class="container">
            <div class="row card">
              <div class="col card-body">
                <form action="<?php echo e(route('user.clave.update')); ?>" method="post">
                  <?php echo csrf_field(); ?>                                
                  <div class="container">
                    <div class="row">
                      <div class="col-md-12">
                        <?php if(session('success')): ?>
                          <?php if(session("mensaje") == 'Contraseña actualizada con éxito'): ?>
                            <div class="alert alert-success" role="alert">
                              <?php echo e(session("mensaje")); ?>

                            </div>
                          <?php else: ?>
                            <div class="alert alert-danger" role="alert">
                              <?php echo e(session("mensaje")); ?>

                            </div>
                          <?php endif; ?>
                        <?php endif; ?>
                      </div>
                                      <div class="col-sm-12">
                                        <div class="form-group">
                                          <label for="account-fn">Contraseña actual</label>
                                          <div class="password-toggle">
                                            <input class="form-control <?php $__errorArgs = ['clave'];
$__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); ?>" type="password" id="si-password" name="clave" placeholder="Introduzca su contraseña" required>
                                            <?php $__errorArgs = ['clave'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                    <span class="invalid-feedback" role="alert">
                                                      <strong><?php echo e($message); ?></strong>
                                                    </span>
                                                  <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                          </div>
                                        </div>
                                      </div>
                                      <div class="col-sm-12">
                                        <div class="form-group">
                                          <label for="account-fn">Nueva contraseña</label>
                                          <div class="password-toggle">
                                            <input 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); ?>" type="password" name="password" placeholder="Introduzca su nueva contraseña" required>
                                            
                                            <?php $__errorArgs = ['password'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                    <span class="invalid-feedback" role="alert">
                                                      <strong><?php echo e($message); ?></strong>
                                                    </span>
                                                  <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                          </div>
                                        </div>
                                      </div>
                                      <div class="col-sm-12">
                                          <label for="su-password-confirm">Confirmar contraseña</label>
                                            <div class="password-toggle">
                                              <input class="form-control" type="password" id="su-password-confirm" placeholder="Confirme su contraseña" name="password_confirmation" required>                                                
                                            </div>
                                      </div>                                                     
                                    </div>                                   
                  </div>
                  <div class="row">
                                    <div class="col">
                                        <br>
                                        <button type="submit" class="btn btn-primary float-right">Actualizar</button>
                                    </div>
                  </div>
                </form>  
              </div>
            </div>            
          </div>
        </section>
<?php $__env->stopSection(); ?>

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