Author: Pedro Lucas Porcellis <pedrolucasporcellis@gmail.com>
Add link to edit balance of product at product list
src/templates/products.html | 3 +++
diff --git a/src/templates/products.html b/src/templates/products.html index 9d37de0b2fbe80e681d19e7b6a6eb18bf24f8af7..b3f86bf82fc23aa66f1392d30a21524568121804 100644 --- a/src/templates/products.html +++ b/src/templates/products.html @@ -17,6 +17,9 @@ {{ product.description }} <div> <strong> {{ product.price | as_currency }} </strong> </div> + <div> + <a href="{{ url_for('products.balance', id = product.id) }}">Editar Saldo</a> + </div> </div> {% endfor %}