Select Git revision
65160394 authored
search.ejs 352 B
<link rel="stylesheet" href="/css/search.css">
<h2>Search Results</h2>
<ul>
<% if (tours.length > 0) { %>
<% tours.forEach(tour => { %>
<li>
<a href="/tour/<%= tour.id %>"><%= tour.name %></a> - <%= tour.price %> THB
</li>
<% }) %>
<% } else { %>
<p>No tours found</p>
<% } %>
</ul>
<a href="/">Back to Home</a>