Sha256: b310d2de85c6ca2d258800e26c0e6068a8e60d24faa20331e304991c30b61b2e
Contents?: true
Size: 753 Bytes
Versions: 4
Compression:
Stored size: 753 Bytes
Contents
<% id = payment_method.id %> <fieldset class="no-border-bottom braintree-hosted-fields" data-braintree-hosted-fields data-id="braintree" data-payment-method-id="<%= id %>"> <div class="field" data-hook="previous_cards"> <% if previous_cards.any? %> <% previous_cards.each do |card| %> <label><%= radio_button_tag :card, card.id, card == previous_cards.first %> <%= card.display_number %><br /></label> <% end %> <label><%= radio_button_tag :card, "new", false, { id: "card_new#{id}" } %> <%= Spree.t(:use_new_cc) %></label> <% end %> </div> <div id="card_form<%= id %>" data-hook style="display: none;"> <%= render partial: "spree/shared/braintree_hosted_fields", locals: { id: id } %> </div> </fieldset>
Version data entries
4 entries across 4 versions & 1 rubygems