Skip to content

Commit

Permalink
Revert "Fix label clicking not checking box"
Browse files Browse the repository at this point in the history
This reverts commit 1f35a50.
  • Loading branch information
joaquinco committed Dec 9, 2024
1 parent 4b96531 commit 5f5bc11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/views/reservations/new.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
- 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 5f5bc11

Please sign in to comment.