mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-04-01 06:41:41 +00:00
11068: update confirm_button_color to confirm_button_class
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
- delete_modal = ConfirmModalComponent.new(id: "delete_#{object_type}_#{object_id}",
|
||||
confirm_button_text: t(".delete_#{object_type}_modal.confirmation_text"),
|
||||
cancel_button_text: t(".delete_#{object_type}_modal.cancellation_text"),
|
||||
confirm_button_color: :red,
|
||||
confirm_reflexes: nil,
|
||||
confirm_button_class: :red,
|
||||
controller: "products",
|
||||
confirm_actions: "click->products#delete#{object_type.titleize}",
|
||||
controller_data_values: {"current-id": object_id},
|
||||
|
||||
Reference in New Issue
Block a user