-
-
Save parzibyte/0d55c28d478110a2ae5ff97b033b5e1d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%- include("../header"); %> | |
<div class="col-12"> | |
<h1>Agregar producto</h1> | |
<form method="post" action="/productos/insertar"> | |
<div class="form-group"> | |
<label for="nombre">Nombre</label> | |
<input required id="nombre" placeholder="Nombre del producto" class="form-control" type="text" | |
name="nombre"> | |
</div> | |
<div class="form-group"> | |
<label for="precio">Precio</label> | |
<input required id="precio" placeholder="Precio del producto" class="form-control" type="number" | |
name="precio"> | |
</div> | |
<div class="form-group"> | |
<button class="btn btn-success">Guardar</button> | |
<a href="/productos" class="btn btn-primary">Volver</a> | |
</div> | |
</form> | |
</div> | |
<%- include("../footer"); %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment