mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-04-06 07:29:16 +00:00
Specify name for this payment input
This commit is contained in:
committed by
Matt-Yorkley
parent
c286189225
commit
4c81f0f27b
@@ -4,6 +4,7 @@
|
||||
- available_payment_methods.each do |payment_method|
|
||||
%div.checkout-input
|
||||
= f.radio_button :payment_method_id, payment_method.id,
|
||||
name: "order[payments_attributes][][payment_method_id]",
|
||||
id: "payment_method_#{payment_method.id}",
|
||||
"data-action": "paymentmethod#selectPaymentMethod",
|
||||
"data-paymentmethod-description": "#{payment_method.description}"
|
||||
|
||||
Reference in New Issue
Block a user