diff --git a/app/views/components/_ticket_card.html.erb b/app/views/components/_ticket_card.html.erb
index bf2c567..3fddcf2 100755
--- a/app/views/components/_ticket_card.html.erb
+++ b/app/views/components/_ticket_card.html.erb
@@ -1,41 +1,4 @@
-
shadow-sm overflow-hidden"
- x-data="{
- quantity: 0,
- max: <%= remaining %>,
- ticketTypeId: <%= id %>,
- name: '<%= name %>',
- price: <%= price_cents %>
- }"
- x-init="
- $watch('quantity', (value) => {
- $dispatch('update-cart-item', {
- ticketTypeId: ticketTypeId,
- name: name,
- price: price,
- quantity: value,
- max: max
- });
- });
-
- $nextTick(() => {
- $dispatch('cart-initialized', { ticketTypeId: ticketTypeId });
- });
- "
- @update-cart-item.window="
- if ($event.detail.ticketTypeId === ticketTypeId) {
- quantity = $event.detail.quantity;
- }
- "
- @cart-change.window="
- if (!$event.detail.cart[ticketTypeId]) {
- quantity = 0;
- }
- "
- @restore-cart.window="
- if ($event.detail.cart[ticketTypeId]) {
- quantity = $event.detail.cart[ticketTypeId].quantity;
- }
- ">
+
shadow-sm overflow-hidden">
@@ -72,19 +35,18 @@
+ max="<%= remaining %>"
+ value="0"
+ class="w-12 text-center border border-gray-300 rounded-md px-2 py-1 text-sm focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-offset-1"
+ disabled>
diff --git a/app/views/events/show.html.erb b/app/views/events/show.html.erb
index e95e3f7..d93036c 100755
--- a/app/views/events/show.html.erb
+++ b/app/views/events/show.html.erb
@@ -1,7 +1,5 @@
-
+
+
-
+
-
Billets disponibles
+
+
Billets disponibles
+
+
<% if @event.ticket_types.any? %>
<% @event.ticket_types.each do |ticket_type| %>
@@ -260,21 +262,19 @@
Quantité :
- 0
+ 0
Montant total:
- €0.00
+ €0.00
-
+
-
-