From 74ab31c0e6b980344236b4957d214bfee5809166 Mon Sep 17 00:00:00 2001 From: Hugo Daniel Date: Wed, 31 Jul 2019 14:28:15 +0200 Subject: [PATCH] Import gateway.html.erb and convert to haml --- .../payments/source_views/_gateway.html.haml | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 app/views/spree/admin/payments/source_views/_gateway.html.haml diff --git a/app/views/spree/admin/payments/source_views/_gateway.html.haml b/app/views/spree/admin/payments/source_views/_gateway.html.haml new file mode 100644 index 0000000000..233e72e508 --- /dev/null +++ b/app/views/spree/admin/payments/source_views/_gateway.html.haml @@ -0,0 +1,33 @@ +%fieldset + %legend{:align => "center"}= Spree.t(:credit_card) + .row + .alpha.six.columns + %dl + %dt + = Spree.t(:card_number) + \: + %dd= payment.source.display_number + %dt + = Spree.t(:expiration) + \: + %dd + = payment.source.month + \/ + = payment.source.year + %dt + = Spree.t(:card_code) + \: + %dd= payment.source.verification_value + .omega.six.columns + %dl + %dt + = Spree.t(:maestro_or_solo_cards) + \: + %dd= payment.source.issue_number + %dt + = Spree.t(:start_date) + \: + %dd + = payment.source.start_month + \/ + = payment.source.start_year