Gitlab@Informatics

Skip to content
Snippets Groups Projects
Commit b861e785 authored by 65160132's avatar 65160132
Browse files

final2 waiting decorate

parent c863e061
No related branches found
No related tags found
No related merge requests found
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
<form action="/products/<%= product.product_id %>/edit" method="GET"> <form action="/products/<%= product.product_id %>/edit" method="GET">
<button type="submit" style="color: yellow;">เเก้ไขสินค้า</button> <button type="submit" style="color: yellow;">เเก้ไขสินค้า</button>
</form> </form>
<% } %>
<form action="/cart/add" method="POST"> <form action="/cart/add" method="POST">
<input type="hidden" name="product_id" value="<%= product.product_id %>"> <input type="hidden" name="product_id" value="<%= product.product_id %>">
<input type="hidden" name="price" value="<%= product.price %>"> <input type="hidden" name="price" value="<%= product.price %>">
...@@ -33,7 +34,6 @@ ...@@ -33,7 +34,6 @@
<input type="number" name="quantity" value="1" min="1"> <input type="number" name="quantity" value="1" min="1">
<button type="submit">เพิ่มลงตะกร้า</button> <button type="submit">เพิ่มลงตะกร้า</button>
</form> </form>
<% } %>
<a href="/">กลับหน้าหลัก</a> <a href="/">กลับหน้าหลัก</a>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment