Gitlab@Informatics

Skip to content
Snippets Groups Projects
Commit 34542e99 authored by 65160394's avatar 65160394
Browse files

Project Round 3

parent 1a7eba25
Branches
No related tags found
No related merge requests found
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
<!-- แสดงปุ่ม "Create Tour" สำหรับผู้ใช้ที่เข้าสู่ระบบแล้ว --> <!-- แสดงปุ่ม "Create Tour" สำหรับผู้ใช้ที่เข้าสู่ระบบแล้ว -->
<% if (session.userId) { %> <% if (session.userId) { %>
<a href="/tour/create" class="btn-create">Create Tour</a> <a href="/create" class="btn-create">Create Tour</a>
<% } %> <% } %>
<ul> <ul>
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
<a href="/tour/<%= tour.id %>"><%= tour.name %></a> - <%= tour.price %> THB <a href="/tour/<%= tour.id %>"><%= tour.name %></a> - <%= tour.price %> THB
<% if (session.userId) { %> <!-- ตรวจสอบว่าเป็นผู้ใช้ที่ล็อกอินแล้วหรือไม่ --> <% if (session.userId) { %> <!-- ตรวจสอบว่าเป็นผู้ใช้ที่ล็อกอินแล้วหรือไม่ -->
<a href="/tour/edit/<%= tour.id %>" class="btn-edit">Edit</a> <!-- ปุ่มสำหรับแก้ไขทัวร์ --> <a href="/edit/<%= tour.id %>" class="btn-edit">Edit</a> <!-- ปุ่มสำหรับแก้ไขทัวร์ -->
<% } %> <% } %>
</li> </li>
<% }) %> <% }) %>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment