<%- include("templates/encabezado") %>
  <%- include("templates/googleanalitics") %>
    <%- include("templates/menulogin") %>
      <link rel="stylesheet" href="/web/css/styleAboutUs.css">

      <div class="container mt-5">
        <h1>Editar Usuario</h1>
        <div class="mb-3">
          <form action="/modificarUsuario" method="POST">
            <div class="form-group">
              <label for="name">Nombre:</label>
              <input type="text" class="form-control" id="name" name="name" value="<%= usuario.name_cliente %>" required
                maxlength="30">
            </div>

            <div class="form-group">
              <label for="password">Contrase単a actual:</label>
              <input type="password" class="form-control" id="password" name="password" value=""
                placeholder="Ingrese su contrase単a actual" required minlength="8" maxlength="20">
            </div>

            <div class="form-group">
              <label for="newPassword">Nueva contrase単a:</label>
              <input type="password" class="form-control" id="newPassword" name="newPassword" value=""
                placeholder="Ingrese su nueva contrase単a" requiredv minlength="8" maxlength="20">
            </div>

            <input type="hidden" name="id" value="<%= usuario.expediente_cliente %>">

            <br>

            <button type="submit" class="btn btn-primary">Guardar cambios</button>
          </form>
        </div>
      </div>

      <%- include("templates/pie") %>