Sha256: 3454545db6d3a7e24fb8c616454a9066300627c548c674f03709c61e5a1395db

Contents?: true

Size: 732 Bytes

Versions: 1

Compression:

Stored size: 732 Bytes

Contents

<div id="existing_cards" class="payment-sources-existing-cards" style="display:none;">
  <%= radio_button_tag 'use_existing_card', 'yes', true, class: 'd-none' %>
  <div class="form-group" data-hook="existing_cards">
    <div class="d-flex flex-column payment-sources-list">
      <% @payment_sources.each do |card| %>
        <%= render partial: 'credit_card', locals: { card: card } %>
      <% end %>
      <div>
        <label class="form-check-label harpiya-radio-label col-6 mb-2">
          <%= radio_button_tag 'use_existing_card', 'no' %>
          <span class="harpiya-radio-label-custom-input"></span>
          <span><%= Harpiya.t(:add_new_credit_card) %></span>
        </label>
      </div>
    </div>
  </div>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
harpiya_frontend-4.3.0.alpha app/views/harpiya/checkout/_payment_sources.html.erb