Sha256: 2b0c8969c79cbb18aa624ca2e0ae29d8765d2504329e236fec37dbee206a8dd6

Contents?: true

Size: 1.11 KB

Versions: 4

Compression:

Stored size: 1.11 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>



<div class="form-actions">
  <input type="submit" class="btn btn-primary" value="<%=t("save_and_continue") %>" data-disable-with="<%= t(:wait) %>"/>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
synergy_bootstrap_theme-0.0.4 app/views/checkout/_payment.html.erb
synergy_bootstrap_theme-0.0.3 app/views/checkout/_payment.html.erb
synergy_bootstrap_theme-0.0.2 app/views/checkout/_payment.html.erb
synergy_bootstrap_theme-0.0.1 app/views/checkout/_payment.html.erb