Sha256: 81d3233fea7b8cc3eda6dbe84d77c2b05713e37dc1eabb6b62334ec0b5727ba1

Contents?: true

Size: 1.38 KB

Versions: 19

Compression:

Stored size: 1.38 KB

Contents

<fieldset id="payment" data-hook>
  <legend align="center"><%= Spree.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.available_payment_methods.first %>
        <%= Spree.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;" />
    <% if Spree::Promotion.with_code.count > 0 %>
      <p class='field' data-hook='coupon_code'>
        <%= form.label :coupon_code %><br />
        <%= form.text_field :coupon_code %>
      </p>
    <% end %>
  </div>
</fieldset>

<br class="space" />

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

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
spree_frontend-2.0.13 app/views/spree/checkout/_payment.html.erb
spree_frontend-2.0.12 app/views/spree/checkout/_payment.html.erb
spree_frontend-2.0.11 app/views/spree/checkout/_payment.html.erb
spree_frontend-2.0.10 app/views/spree/checkout/_payment.html.erb
spree_frontend-2.0.9 app/views/spree/checkout/_payment.html.erb
spree_frontend-2.0.8 app/views/spree/checkout/_payment.html.erb
spree_frontend-2.1.3 app/views/spree/checkout/_payment.html.erb
spree_frontend-2.0.7 app/views/spree/checkout/_payment.html.erb
spree_frontend-2.1.2 app/views/spree/checkout/_payment.html.erb
spree_frontend-2.0.6 app/views/spree/checkout/_payment.html.erb
spree_frontend-2.1.1 app/views/spree/checkout/_payment.html.erb
spree_frontend-2.0.5 app/views/spree/checkout/_payment.html.erb
spree_frontend-2.1.0 app/views/spree/checkout/_payment.html.erb
spree_frontend-2.0.4 app/views/spree/checkout/_payment.html.erb
spree_frontend-2.0.3 app/views/spree/checkout/_payment.html.erb
spree_frontend-2.0.2 app/views/spree/checkout/_payment.html.erb
spree_frontend-2.0.1 app/views/spree/checkout/_payment.html.erb
spree_frontend-2.0.0 app/views/spree/checkout/_payment.html.erb
spree_frontend-2.0.0.rc1 app/views/spree/checkout/_payment.html.erb