Skip to content

Admin orders form fix #3

Closed
wants to merge 1 commit into from
View
2 core/app/views/admin/orders/_form.html.erb
@@ -1,4 +1,4 @@
-<%= render 'shared/error_messages', :target => @line_item %>
+<%= render 'shared/error_messages', :target => @order %>
<%= form_for(@order, :url => admin_order_url(@order), :html => { :method => :put}) do |f| %>
<%= f.hidden_field :number %>
Something went wrong with that request. Please try again.