wip: OrdersController#new

This commit is contained in:
kbe
2025-09-03 01:52:48 +02:00
parent 6965eb89fd
commit 839120f2f4
10 changed files with 206 additions and 96 deletions

View File

@@ -26,7 +26,7 @@
</div>
<div class="featured-events-grid" data-controller="featured-event">
<% @events.each do |event| %>
<% @featured_events.each do |event| %>
<div class="featured-event-card" data-featured-event-target="card">
<%= link_to event_path(event.slug, event) do %>
<img src="<%= event.image %>" alt="<%= event.name %>" class="featured-event-image" data-featured-event-target="animated">
@@ -37,7 +37,7 @@
<span class="badge badge-featured">★ En vedette</span>
<% end %>
<% if event.ticket_types.any? { |ticket_type| ticket_type.available_quantity > 0 } %>
<span class="badge badge-available">Disponible</span>
<!--<span class="badge badge-available">Disponible</span>-->
<% end %>
</div>
<h3 class="featured-event-title"><%= event.name %></h3>
@@ -154,4 +154,4 @@
</div>
</div>
</div>
</section>
</section>