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