Update order.ejs

This commit is contained in:
Janis M
2022-03-28 08:54:42 +02:00
parent a69b69d057
commit 3ff13bfd25

View File

@@ -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">