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.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
Add Bootstrap classes to radio buttons.
Matthew Kennedy299eeba9c2f0
diff --git a/backend/app/views/spree/admin/payment_methods/_form.html.erb b/backend/app/views/spree/admin/payment_methods/_form.html.erbindex fa5a8cd722..e044fc480e 100644--- a/backend/app/views/spree/admin/payment_methods/_form.html.erb+++ b/backend/app/views/spree/admin/payment_methods/_form.html.erb@@ -30,18 +30,14 @@</div><div data-hook="active" class="form-group"><strong><%= Spree.t(:active) %></strong>- <div class="radio my-2">- <%= label_tag :payment_method_active_true do %>- <%= radio_button :payment_method, :active, true %>- <%= Spree.t(:say_yes) %>- <% end %>+ <div class="radio my-2 form-check">+ <%= radio_button :payment_method, :active, true, class: 'form-check-input' %>+ <%= label_tag :payment_method_active_true, Spree.t(:say_yes), class: 'form-check-label' %></div>- <div class="radio my-2">- <%= label_tag :payment_method_active_false do %>- <%= radio_button :payment_method, :active, false %>- <%= Spree.t(:say_no) %>- <% end %>+ <div class="radio my-2 form-check">+ <%= radio_button :payment_method, :active, false, class: 'form-check-input' %>+ <%= label_tag :payment_method_active_false, Spree.t(:say_no), class: 'form-check-label' %></div></div></div>