diff --git a/lib/views/frontend/spree/checkout/payment/_stripe_elements.html.erb b/lib/views/frontend/spree/checkout/payment/_stripe_elements.html.erb index 6f1a448e..a73bf772 100644 --- a/lib/views/frontend/spree/checkout/payment/_stripe_elements.html.erb +++ b/lib/views/frontend/spree/checkout/payment/_stripe_elements.html.erb @@ -1,24 +1,15 @@ <% param_prefix = "payment_source[#{payment_method.id}]" %>
- <%= label_tag "name_on_card_#{payment_method.id}" do %> - <%= Spree.t(:name_on_card) %>* - <% end %> - <%= text_field_tag "#{param_prefix}[name]", "#{@order.bill_address_firstname} #{@order.bill_address_lastname}", { id: "name_on_card_#{payment_method.id}", class: 'form-control required'} %> -
-