From f7561b428e5283fda32934534ec5ffa573293008 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Gon=C3=A7alves?= Date: Fri, 10 May 2024 15:49:33 +0100 Subject: [PATCH] Intorduced the simple_format method to the shipping method description --- app/views/checkout/_details.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/checkout/_details.html.haml b/app/views/checkout/_details.html.haml index b837e52812..3a2cb5d90f 100644 --- a/app/views/checkout/_details.html.haml +++ b/app/views/checkout/_details.html.haml @@ -95,7 +95,7 @@ %div.checkout-input{"data-shippingmethod-target": "shippingMethodDescription", "data-shippingmethodid": shipping_method.id , style: "display: #{ship_method_is_selected ? 'block' : 'none'}" } #distributor_address.panel - if shipping_method.description.present? - %span #{shipping_method.description} + %span #{simple_format(shipping_method.description)} %br/ %br/ - if @order.order_cycle.pickup_time_for(@order.distributor)