Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bike booking update #379

Merged
merged 3 commits into from
Sep 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions views/_bike.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@
<p><%= blurb %></p>
<% end %>

<% p data %>

<% data.each do |bike_data| %>
<% p bike_data %>
<% if bike_data[:title] %>
<h3><%= bike_data[:title] %></h3>
<% bike_data.delete :title %>
Expand All @@ -30,7 +27,11 @@
<%== erb :_rental_price_list, locals: { prices: } %>
<div class="d-grid gap-2">
<a href="https://form.jotform.com/232906110109344" class="btn btn-primary">
Book Now
Book Now 2024
</a>

<a href="https://form.jotform.com/242604763949366" class="btn btn-primary">
Book Now 2025
</a>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion views/_rental_price_list.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<table class="table text-end table-striped">
<thead>
<tr>
<th>Day</th>
<th>Days</th>
<th>€ / day</th>
<th>Hire Price</th>
</tr>
Expand Down