From 4c4e5f3c2b4aa36a20c2e8d0416add87f0c6df94 Mon Sep 17 00:00:00 2001 From: Atiwit Pattanapukdee <65160394@go.buu.ac.th> Date: Thu, 20 Mar 2025 21:35:32 +0700 Subject: [PATCH] Project Round 9 --- views/booking.ejs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/booking.ejs b/views/booking.ejs index 3383159..e4ab024 100644 --- a/views/booking.ejs +++ b/views/booking.ejs @@ -29,8 +29,8 @@ <div class="booking-form"> <h2>Book a Tour</h2> <form action="/create-booking" method="POST"> - <label for="tour_id">Select Tour</label> - <select id="tour_id" name="tour_id" required> + <label for="tour-id">Select Tour</label> + <select id="tour-id" name="tour-id" required> <option value="" disabled selected>Select a Tour</option> <% tours.forEach(function(tour) { %> <option value="<%= tour.id %>"><%= tour.name %></option> -- GitLab