Sha256: 9b0635e3d5150f40c446b4c21c65df0e4f3e5b2997a543df8da46b4b0c531c7f

Contents?: true

Size: 504 Bytes

Versions: 1

Compression:

Stored size: 504 Bytes

Contents

<ul class="payment-method-selector">
  <% methods.each do |method| %>
    <li>
      <%= render(
        'spree/components/forms/inputs/radio_input',
        checked: method == @order.available_payment_methods.first,
        id: "order_payments_attributes__payment_method_id_#{method.id}",
        label: t(method.name, scope: 'spree.payment_methods', default: method.name),
        name: "order[payments_attributes][][payment_method_id]",
        value: method.id
      ) %>
    </li>
  <% end %>
</ul>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_starter_frontend-0.1.0 app/views/spree/components/checkout/_payment_method_selector.html.erb