From 6ceb8e9ee791e6494d25ffc9c5707b44c97bce4c Mon Sep 17 00:00:00 2001 From: Rohan Mitchell Date: Mon, 22 Jul 2013 11:23:48 +1000 Subject: [PATCH] Restore change: render checkout distributor details from partial --- app/views/spree/shared/_order_details_steps_data.html.erb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/views/spree/shared/_order_details_steps_data.html.erb b/app/views/spree/shared/_order_details_steps_data.html.erb index 96214287f8..d0fa4d262d 100644 --- a/app/views/spree/shared/_order_details_steps_data.html.erb +++ b/app/views/spree/shared/_order_details_steps_data.html.erb @@ -11,8 +11,7 @@
<%= "Distributor Details" %> <%# link_to "(#{t(:edit)})", checkout_state_path(:address) unless @order.completed? %>
- Distributor: <%= order.distributor.name %>
- Address: <%= order.distributor.address.address1 + ", " + order.distributor.address.city %> + <%= render 'enterprises/distributor_details', :distributor => order.distributor %>
@@ -46,4 +45,4 @@ <% end %> - \ No newline at end of file +