app/views/comable/orders/delivery.slim in comable_frontend-0.3.4 vs app/views/comable/orders/delivery.slim in comable_frontend-0.4.0

- old
+ new

@@ -13,15 +13,15 @@ = form_for @order, as: :order, url: update_order_path, method: :put do |f| = f.fields_for :ship_address do |ff| = render 'comable/shared/address_form', address: ff = f.submit Comable.t('next_step') - - if current_customer.other_addresses.any? + - if current_comable_user.other_addresses.any? .other_addresses.row h2 = Comable.t('other_addresses') ul.list-unstyled - - current_customer.addresses.each do |address| + - current_comable_user.addresses.each do |address| - next if @order.ship_address.same_as? address li.col-sm-4 = render 'comable/shared/address', address: address = form_for @order, as: :order, url: update_order_path, method: :put do |f| .hidden