Sha256: 953b5be448b80bcc57965b81cc85dff3e87b4bdf52bcea6b23204b68bc693d92

Contents?: true

Size: 1.09 KB

Versions: 19

Compression:

Stored size: 1.09 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;' />
    <%= hook :coupon_code_field, {:form => form} %>
  <% 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

19 entries across 19 versions & 6 rubygems

Version Path
apispree_core-0.0.0 app/views/checkout/_payment.html.erb
My-Commerce_core-1.1.0 app/views/checkout/_payment.html.erb
My-Commerce_core-1.0.0 app/views/checkout/_payment.html.erb
MyCommerceapi-1.0.0 core/app/views/checkout/_payment.html.erb
MyCommerce-0.0.3 core/app/views/checkout/_payment.html.erb
rfcommerce_core-0.0.3 app/views/checkout/_payment.html.erb
spree_core-0.60.6 app/views/checkout/_payment.html.erb
spree_core-0.60.5 app/views/checkout/_payment.html.erb
spree_core-0.50.4 app/views/checkout/_payment.html.erb
spree_core-0.60.4 app/views/checkout/_payment.html.erb
spree_core-0.50.3 app/views/checkout/_payment.html.erb
spree_core-0.60.3 app/views/checkout/_payment.html.erb
spree_core-0.60.2 app/views/checkout/_payment.html.erb
spree_core-0.60.1 app/views/checkout/_payment.html.erb
spree_core-0.60.0 app/views/checkout/_payment.html.erb
spree_core-0.60.0.RC1 app/views/checkout/_payment.html.erb
spree_core-0.50.2 app/views/checkout/_payment.html.erb
spree_core-0.50.1 app/views/checkout/_payment.html.erb
spree_core-0.50.0 app/views/checkout/_payment.html.erb