Sha256: 3ae7599de59ecdf547b5f7602232c619d4eb651adc86eeed4aa0b33f176cb477

Contents?: true

Size: 1.16 KB

Versions: 8

Compression:

Stored size: 1.16 KB

Contents

<fieldset id="payment">
  <legend><%= t("payment_information") %></legend>
  <%= hook :checkout_payment_step, {:form => form} do %>
    <% @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">
      <% @order.available_payment_methods.each do |method| %>
        <li id="payment_method_<%= method.id %>"<%= ' class="last"' if method == @order.available_payment_methods.last %>>
          <fieldset>
            <%= render "checkout/payment/#{method.method_type}", :payment_method => method %>
          </fieldset>
        </li>
      <% end %>  
    </ul>
    <br style='clear:both;' />
    <p>
      <label><%= t(:coupon_code) %></label><br />
      <%= form.text_field :coupon_code, :size => 19 %>
    </p>
  <% end %>
</fieldset>

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
spree_core-0.30.2 app/views/checkout/_payment.html.erb
spree_core-0.40.4 app/views/checkout/_payment.html.erb
spree_core-0.40.3 app/views/checkout/_payment.html.erb
spree_core-0.40.2 app/views/checkout/_payment.html.erb
spree_core-0.40.1 app/views/checkout/_payment.html.erb
spree_core-0.40.0 app/views/checkout/_payment.html.erb
spree_core-0.30.1 app/views/checkout/_payment.html.erb
spree_core-0.30.0 app/views/checkout/_payment.html.erb