Sha256: 8f613ae0f999c6706a10b3e7db7e51c73b81f7f3481a7630c9b69c5e875bd9f6

Contents?: true

Size: 1.12 KB

Versions: 2

Compression:

Stored size: 1.12 KB

Contents

<fieldset id="payment" data-hook>
  <legend><%= 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 "checkout/payment/#{method.method_type}", :payment_method => method %>
          </fieldset>
        </li>
      <% end %>
    </ul>
    <br style='clear:both;' />
    <div data-hook="coupon_code_field" data-hook></div>
  </div>
</fieldset>

<hr class="space" />
<div class="form-buttons" data-hook="buttons">
  <input type="submit" class="continue button primary" value="<%=t("save_and_continue") %>" />
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_core-0.70.0.rc2 app/views/checkout/_payment.html.erb
spree_core-0.70.RC1 app/views/checkout/_payment.html.erb