Advertisement
ADL_Rodrigo_Silva

Untitled

Mar 14th, 2022
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.95 KB | None | 0 0
  1. <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
  2.     pageEncoding="ISO-8859-1"%>
  3. <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
  4. <%@page import="com.latam.jpacrud.modelo.Usuario"%>
  5. <%@page import="com.latam.jpacrud.vo.UsuarioVO"%>
  6. <!DOCTYPE html>
  7. <html>
  8. <head>
  9. <meta charset="charset=ISO-8859-1">
  10. <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
  11. </head>
  12. <body>
  13.     <div class="p-3">
  14.  
  15.         <h1>Editar usuario</h1>
  16.  
  17.         <form action="editar" method="post">
  18.             <input type="hidden" name="idusuario" value="${VO.getIdusuario()}" />
  19.             <table>
  20.  
  21.                 <tr>
  22.                     <td class="p-2"><label for="nombre">Nombre:</label></td>
  23.                     <td><input class="form-control" type="text" name="nombre"
  24.                         placeholder="Nombre" value="${VO.getNombre()}" /></td>
  25.                 </tr>
  26.                 <tr>
  27.                     <td class="p-2"><label for="clave">Clave:</label></td>
  28.                     <td><input class="form-control" type="password"
  29.                         placeholder="Contraseña" name="clave" value="${VO.getClave()}" /></td>
  30.                 </tr>
  31.                 <tr>
  32.                     <td class="p-2"><label for="rut">Rut:</label></td>
  33.                     <td><input class="form-control" type="number"
  34.                         placeholder="Rut" name="rut" maxlength="99999999"
  35.                         value="${VO.getRut()}" /></td>
  36.                     <td>-</td>
  37.                     <td><input type="text" size="1" step="1" class="form-control" name="dv"
  38.                         value="${VO.getDv()}" maxlength="1" /></td>
  39.                 </tr>
  40.  
  41.                 <tr>
  42.                     <td colspan="2"><input type="submit"
  43.                         class="btn m-2 btn-success" value="Guardar" /></td>
  44.                 </tr>
  45.             </table>
  46.         </form>
  47.     </div>
  48.  
  49.     <!-- Fin Contenido -->
  50.    
  51.     <!-- Script para Bootstrap -->
  52.     <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script></body>
  53.  
  54. </body>
  55. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement