Gitlab@Informatics

Skip to content
Snippets Groups Projects
Commit 3aa2b9b6 authored by 65160394's avatar 65160394
Browse files

Project Round 9

parent 4b707dd4
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@
<header>
<h1>Welcome to JourneyHub</h1>
<nav>
<% if (session && session.id) { %>
<% if (session && session.userId) { %>
<a href="/create" class="btn-create">Create Tour</a>
<a href="/create-booking" class="btn-create">Create Booking</a>
<% } %>
......@@ -36,7 +36,7 @@
<li>
<a href="/tour/<%= tour.id %>"><%= tour.name %></a> - <%= tour.price %> THB
<% if (session && session.id) { %>
<% if (session && session.userId) { %>
<a href="/edit/<%= tour.id %>" class="btn-edit">Edit</a> <!-- ปุ่มสำหรับแก้ไขทัวร์ -->
<a href="/delete/<%= tour.id %>" class="btn-delete">Delete</a> <!-- ปุ่มสำหรับลบทัวร์ -->
<% } %>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment