Update _form.html.erb

This commit is contained in:
2016-04-29 08:59:28 -04:00
parent f9a31fd3f2
commit 783b63c9a0

View File

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