selvaGo/templates/nombre.html
2025-04-04 15:55:58 -06:00

49 lines
No EOL
1.2 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Detalle del Nombre</title>
<link rel="stylesheet" href="/static/style.css">
</head>
<body>
<h1>Detalle del Nombre</h1>
{{ if . }}
<table>
<tbody>
<tr>
<th>Nombre:</th>
<td>{{ .Nombre.Nombre }}</td>
</tr>
<tr>
<th>Familia:</th>
<td>{{ .FamiliaName }}</td>
</tr>
<tr>
<th>Fecha:</th>
<td>{{ .Nombre.Fecha }}</td>
</tr>
<tr>
<th>Proveedor:</th>
<td>{{ .ProveedorName }}</td>
</tr>
<tr>
<th>Precio:</th>
<td>{{ .Nombre.Precio }}</td>
</tr>
<tr>
<th>Inactivo:</th>
<td>{{ .Nombre.Inactivo }}</td>
</tr>
</tbody>
</table>
<p><a href="/nombres/html/edit/{{ .Nombre.NombreID }}">Editar</a> | <a href="/nombres/html">Volver</a></p>
{{ else }}
<p>Nombre no encontrado.</p>
{{ end }}
</body>
</html>