selvaGo/templates/edit_nombre.html

41 lines
1.4 KiB
HTML
Raw Permalink Normal View History

2025-04-04 21:55:58 +00:00
<!DOCTYPE html>
<html lang="en">
2025-03-21 22:48:31 +00:00
2025-04-04 21:55:58 +00:00
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Editar Nombre</title>
<link rel="stylesheet" href="/static/style.css">
</head>
2025-03-21 22:48:31 +00:00
2025-04-04 21:55:58 +00:00
<body>
<h1>Editar Nombre</h1>
2025-03-21 22:48:31 +00:00
2025-04-04 21:55:58 +00:00
<form action="/nombres/html/update/{{ .NombreID }}" method="POST">
<label for="FamiliaID">FamiliaID:</label>
<input type="number" id="FamiliaID" name="FamiliaID" value="{{ .FamiliaID }}"><br><br>
2025-03-21 22:48:31 +00:00
2025-04-04 21:55:58 +00:00
<label for="Nombre">Nombre:</label>
<input type="text" id="Nombre" name="Nombre" value="{{ .Nombre }}"><br><br>
2025-03-21 22:48:31 +00:00
2025-04-04 21:55:58 +00:00
<label for="Fecha">Fecha:</label>
<input type="date" id="Fecha" name="Fecha" value="{{ .Fecha }}"><br><br>
2025-03-21 22:48:31 +00:00
2025-04-04 21:55:58 +00:00
<label for="ProveedorID">ProveedorID:</label>
<input type="number" id="ProveedorID" name="ProveedorID" value="{{ .ProveedorID }}"><br><br>
<label for="Precio">Precio:</label>
<input type="number" step="0.01" id="Precio" name="Precio" value="{{ .Precio }}"><br><br>
<label for="Inactivo">Inactivo:</label>
<input type="checkbox" id="Inactivo" name="Inactivo" {{ if .Inactivo }}checked{{ end }}><br><br>
<button type="submit">Guardar Cambios</button>
</form>
<form action="/nombres/html/{{ .NombreID }}" method="GET">
<button type="submit">Volver al Detalle</button>
</form>
</body>
</html>