app/views/spree/checkout/_payment.html.erb in spree_frontend-3.0.0.rc1 vs app/views/spree/checkout/_payment.html.erb in spree_frontend-3.0.0.rc3

- old
+ new

@@ -1,11 +1,10 @@ <div class="panel panel-default" id="payment" data-hook> <div class="panel-heading"> <h3 class="panel-title"><%= Spree.t(:payment_information) %></h3> </div> <div class="panel-body" data-hook="checkout_payment_step"> - <% if @payment_sources.present? %> <div class="card_options"> <%= radio_button_tag 'use_existing_card', 'yes', true %> <label for="use_existing_card_yes"> <%= Spree.t(:use_existing_cc) %> @@ -37,15 +36,15 @@ </div> <% end %> <ul class="list-group" id="payment-method-fields" data-hook> <% @order.available_payment_methods.each do |method| %> - <li class="list-group-item"> - <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> - </li> + <li class="list-group-item"> + <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> + </li> <% end %> </ul> <ul class="nav" id="payment-methods" data-hook> <% @order.available_payment_methods.each do |method| %>