Sha256: 59b6bc41513a4b555c5a89ca94874efd51f0944dc5679c15d25e50d063a5ed5b

Contents?: true

Size: 1.19 KB

Versions: 6

Compression:

Stored size: 1.19 KB

Contents

<fieldset id="payment" data-hook>
  <legend align="center"><%= t(:payment_information) %></legend>
  <div data-hook="checkout_payment_step">
    <% @order.available_payment_methods.each do |method| %>
    <p>
      <label>
        <%= radio_button_tag "order[payments_attributes][][payment_method_id]", method.id, method == @order.payment_method %>
        <%= t(method.name, :scope => :payment_methods, :default => method.name) %>
      </label>
    </p>
    <% end %>

    <ul id="payment-methods" data-hook>
      <% @order.available_payment_methods.each do |method| %>
        <li id="payment_method_<%= method.id %>" class="<%= 'last' if method == @order.available_payment_methods.last %>" data-hook>
          <fieldset>
            <%= render :partial => "spree/checkout/payment/#{method.method_type}", :locals => { :payment_method => method } %>
          </fieldset>
        </li>
      <% end %>
    </ul>
    <br style="clear:both;" />
    <div data-hook="coupon_code_field" data-hook></div>
  </div>
</fieldset>

<br class="space" />

<div class="form-buttons" data-hook="buttons">
  <%= submit_tag t(:save_and_continue), :class => 'continue button primary' %>
  <script>disableSaveOnClick();</script>
</div>

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
spree_core-1.3.2 app/views/spree/checkout/_payment.html.erb
spree_core-1.3.1 app/views/spree/checkout/_payment.html.erb
spree_core-1.3.0 app/views/spree/checkout/_payment.html.erb
spree_core-1.3.0.rc2 app/views/spree/checkout/_payment.html.erb
dup_spree_core-1.3.0.rc1 app/views/spree/checkout/_payment.html.erb
spree_core-1.3.0.rc1 app/views/spree/checkout/_payment.html.erb