diff --git a/views/booking.ejs b/views/booking.ejs index 3383159e4d00419ab1e63f4aee550f2462d342c3..e4ab0244eff6ec878394cc58dd00734a300b9b6a 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>