Sha256: 68966ccb740c00da2da8444c06d97ff8c3d6f74d28a6cd6b7a1b324a2da82f60
Contents?: true
Size: 1.46 KB
Versions: 9
Compression:
Stored size: 1.46 KB
Contents
<fieldset id="payment" data-hook> <legend align="center"><%= Spree.t(:payment_information) %></legend> <div data-hook="checkout_payment_step"> <div id="payment-method-fields" data-hook> <% @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 %> </div> <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
9 entries across 9 versions & 1 rubygems