Skip to content

Commit

Permalink
Fix label clicking not checking box
Browse files Browse the repository at this point in the history
  • Loading branch information
joaquinco committed Dec 6, 2024
1 parent e4108dd commit 1f35a50
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/views/reservations/new.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
- if @order.order_details.size == 1
.span6.send-notification
= label_tag :send_notification, class: "checkbox" do
= hidden_field_tag :send_notification, 0
= check_box_tag :send_notification, 1, params[:send_notification] == "1"
= t(".notify")

Expand Down

0 comments on commit 1f35a50

Please sign in to comment.