From 2b61c8a8be1b6ca334e05670e0119432b97719a7 Mon Sep 17 00:00:00 2001 From: Katerina Date: Thu, 16 Jul 2020 12:51:15 +1000 Subject: [PATCH] testing some idea --- views/edit-item.ejs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/views/edit-item.ejs b/views/edit-item.ejs index 6e02408..ad7f41b 100644 --- a/views/edit-item.ejs +++ b/views/edit-item.ejs @@ -78,11 +78,11 @@ <% const types = ["Furniture", "Book", "Food", "Ticket", "Others"] %> <% types.forEach((option, index) => { %> <% if ((item[0].item_type) == option) { %> - + <% } else { %> - + <% } %> <% }) %>