mirror of
https://github.com/DerTyp7/shop-ejs-expressjs.git
synced 2025-10-29 04:22:10 +01:00
Update order.ejs
This commit is contained in:
@@ -18,8 +18,8 @@
|
||||
|
||||
<!--submit button-->
|
||||
<form action="/order" method="POST">
|
||||
<input type="text" name="productId" value="<%= product.id %>">
|
||||
<input type="text" name="quantity" value="<%= quantity %>">
|
||||
<input hidden type="text" name="productId" value="<%= product.id %>">
|
||||
<input hidden type="text" name="quantity" value="<%= quantity %>">
|
||||
<!-- Price is calculated on backend ;) -->
|
||||
|
||||
<input type="submit" value="Bestellen">
|
||||
|
||||
Reference in New Issue
Block a user