<?php require __DIR__.'/../../inc/bootstrap.php'; ?>
<!doctype html><html lang='es'><head>
<meta charset='utf-8'><meta name='viewport' content='width=device-width,initial-scale=1'>
<link rel='stylesheet' href='../../assets/styles.css'>
<link rel='stylesheet' href='../../assets/theme.css'>
<title>Crear componente</title></head><body>
<div class='container'><div class='card theme-comp'>
<a class='btn' href='index.php'>&larr; Volver</a>
<h2>Crear componente</h2>
<form method='post' action='store.php'>
<div class='grid' style='grid-template-columns: repeat(2,1fr); gap:12px'>
<div><div class='label'>Nombre</div><input class='input' type='text' name='nombre' ></div><div><div class='label'>Lote</div><input class='input' type='text' name='lote' ></div><div><div class='label'>Vencimiento</div><input class='input' type='date' name='vencimiento' ></div><div><div class='label'>Precio compra g</div><input class='input' type='number' name='precio_compra_g' step='0.01'></div><div><div class='label'>Precio venta g</div><input class='input' type='number' name='precio_venta_g' step='0.01'></div><div><div class='label'>Estado</div><select class='input' name='estado'><option value='en_uso'>en_uso</option><option value='no_uso'>no_uso</option></select></div>
</div>
<div style='margin-top:12px'><button class='btn' type='submit'>Guardar</button></div>
</form>
</div></div></body></html>
