Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Tidy payment_method stores select ERB.

Matthew Kennedy2e9e1477d7a2
diff --git a/backend/app/views/spree/admin/payment_methods/_form.html.erb b/backend/app/views/spree/admin/payment_methods/_form.html.erb
index 68a2a8d3ac..b60b4c9306 100644
--- a/backend/app/views/spree/admin/payment_methods/_form.html.erb
+++ b/backend/app/views/spree/admin/payment_methods/_form.html.erb
@@ -25,8 +25,8 @@
<% end %>
<div data-hook="store" class="form-group">
- <%= label_tag :payment_method_store, Spree.t(:stores) %>
- <%= collection_select(:payment_method, :store_ids, @stores, :id, :unique_name, {}, { multiple: true, id: 'store_id', class: 'select2' }) %>
+ <%= label_tag :payment_method_stores, Spree.t(:stores) %>
+ <%= collection_select(:payment_method, :store_ids, @stores, :id, :unique_name, {}, { multiple: true, class: 'select2' }) %>
</div>
<div data-hook="display" class="form-group">