feat: buscar reativa em products

This commit is contained in:
2025-01-07 14:51:18 -03:00
parent a761bd2db2
commit 03192adf94
7 changed files with 53 additions and 2 deletions

View File

@@ -19,10 +19,12 @@ Produtos
<body>
<div class="grid-container">
<div ><input type="text"></div>
<div >
<input type="text" id="search-product" name="search-product" placeholder="Buscar Produto" hx-get="{% url 'searchProduct' %}" hx-trigger="keyup" hx-target="#product-list"><br>
</div>
<button onclick="openModal()" id="openModal">Adicionar Novo Produto</button>
<table id="list-products">
<table id="product-list">
<tr>
<th style="text-align: left;">Produto</th>
<th style="text-align: left;width: 20%;">Preço</th>