Update _form.html.erb

This commit is contained in:
2016-04-29 09:03:47 -04:00
parent 1934ec9cfc
commit cba21fa1b6

View File

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