Sha256: c14a831bf171b11446f9e3d4c1e2736b86c290467788eef1d8cea54c4a0d997f
Contents?: true
Size: 1.1 KB
Versions: 4
Compression:
Stored size: 1.1 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"> <%= submit_tag t(:save_and_continue), :class => 'continue button primary' %> </div>
Version data entries
4 entries across 4 versions & 1 rubygems