Update _form.html.erb

This commit is contained in:
ricky committed 2016-04-29 08:57:43 -04:00
1 parent 090fbba6f5
commit f9a31fd3f2
1 file changed
+1 -1
+1 -1
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>