Intorduced the simple_format method to the payment method description

This commit is contained in:
Manuel Gonçalves
2024-05-13 10:34:24 +01:00
parent f7561b428e
commit 89f7c4e351

View File

@@ -29,7 +29,7 @@
.paymentmethod-container{"data-paymentmethod-id": "#{payment_method.id}", style: "display: #{payment_method.id == selected_payment_method ? "block" : "none"}"}
- if payment_method.description && !payment_method.description.empty?
.paymentmethod-description.panel
#{payment_method.description}
#{simple_format(payment_method.description)}
.paymentmethod-form
= render partial: "checkout/payment/#{payment_method.method_type}", locals: { payment_method: payment_method, f: f }