From b861e7853f85188f4159470e92b35d227afee4f2 Mon Sep 17 00:00:00 2001
From: 65160132 <65160132@go.buu.ac.th>
Date: Sun, 23 Mar 2025 02:26:56 +0700
Subject: [PATCH] final2 waiting decorate

---
 views/product.ejs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/views/product.ejs b/views/product.ejs
index 90c5b1c..bd52387 100644
--- a/views/product.ejs
+++ b/views/product.ejs
@@ -26,6 +26,7 @@
    <form action="/products/<%= product.product_id %>/edit" method="GET">
       <button type="submit" style="color: yellow;">เเก้ไขสินค้า</button>
    </form>
+   <% } %>
    <form action="/cart/add" method="POST">
        <input type="hidden" name="product_id" value="<%= product.product_id %>">
        <input type="hidden" name="price" value="<%= product.price %>">
@@ -33,7 +34,6 @@
        <input type="number" name="quantity" value="1" min="1">
        <button type="submit">เพิ่มลงตะกร้า</button>
    </form>
-<% } %>
 
 
 <a href="/">กลับหน้าหลัก</a>
-- 
GitLab