Sha256: 5ce36fee51cb06d0c0aa0007077b0aa6660b089e93c2508a37cda11cb0da6c25

Contents?: true

Size: 1.13 KB

Versions: 1

Compression:

Stored size: 1.13 KB

Contents

<div class="existing-cards">
  <ul class="existing-cards__options">
    <li>
      <%= render(
        'spree/components/forms/inputs/radio_input',
        checked: true,
        id: 'use_existing_card_yes',
        label: t('spree.use_existing_cc'),
        name: "use_existing_card",
        value: 'yes'
      ) %>
    </li>
    <li>
      <%= render(
        'spree/components/forms/inputs/radio_input',
        id: 'use_existing_card_no',
        label: t('spree.use_new_cc_or_payment_method'),
        name: "use_existing_card",
        value: 'no'
      ) %>
    </li>
  </ul>

  <ul class="existing-cards__cards" id="existing_cards">
    <% wallet_payment_sources.each do |wallet_payment_source| %>
      <li id="<%= dom_id(wallet_payment_source, 'spree')%>">
        <%=
          render(
            partial: "spree/checkout/existing_payment/#{wallet_payment_source.payment_source.payment_method.partial_name}",
            locals: {
              wallet_payment_source: wallet_payment_source,
              default: wallet_payment_source == @default_wallet_payment_source,
            }
          )
        %>
      </li>
    <% end %>
  </ul>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

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