diff --git a/app/views/spree/admin/payments/source_forms/_paypal_braintree.html.erb b/app/views/spree/admin/payments/source_forms/_paypal_braintree.html.erb index 2ec56f14..b7d23648 100644 --- a/app/views/spree/admin/payments/source_forms/_paypal_braintree.html.erb +++ b/app/views/spree/admin/payments/source_forms/_paypal_braintree.html.erb @@ -10,5 +10,7 @@ <% end %> - <%= render partial: "spree/shared/braintree_hosted_fields", locals: { id: id } %> +
diff --git a/app/views/spree/shared/_braintree_hosted_fields.html.erb b/app/views/spree/shared/_braintree_hosted_fields.html.erb index 4fbee72a..c7d24e56 100644 --- a/app/views/spree/shared/_braintree_hosted_fields.html.erb +++ b/app/views/spree/shared/_braintree_hosted_fields.html.erb @@ -1,6 +1,6 @@ <% prefix = "payment_source[#{id}]" %> -