Fix ticket quantity buttons on event page - Remove syntax error in ticket card component and improve error handling in ticket cart controller

This commit is contained in:
kbe
2025-08-28 20:56:48 +02:00
parent be3d80e541
commit b9576b91f5
2 changed files with 23 additions and 2 deletions

View File

@@ -49,7 +49,8 @@
data-ticket-cart-target="quantity"
data-ticket-type-id="<%= id %>"
data-name="<%= name %>"
data-price="<%= price_cents %>">
data-price="<%= price_cents %>"
data-action="change->ticket-cart#updateQuantityFromInput">
<button type="button"
class="w-8 h-8 rounded-full bg-gray-100 hover:bg-gray-200 flex items-center justify-center transition-colors duration-200"
data-action="click->ticket-cart#increaseQuantity"