Update _form.html.erb

This commit is contained in:
2016-04-29 08:57:43 -04:00
parent 090fbba6f5
commit f9a31fd3f2

View File

@@ -6,7 +6,7 @@
<div class="clearfix">
Customer:
<div class="input">
<%= f.collection_select :customer_id, Customer.order(:name), :id, :name, include_blank: true, :selected => @customer, :required => true%>
<%= f.collection_select :customer_id, Customer.skip_callback(:initialize, :after, :get_details).order(:name), :id, :name, include_blank: true, :selected => @customer, :required => true%>
</div>
</div>