Update _form.html.erb

This commit is contained in:
2016-08-04 00:18:32 -04:00
committed by GitHub
parent 0f61bf54ce
commit dd335aff71

View File

@@ -6,7 +6,7 @@
<div class="clearfix">
Customer:
<div class="input">
<%= f.collection_select :customer_id, @customers, :id, :name, include_blank: true, :selected => @customer, :required => true%>
<%= f.collection_select :customer_id, @customers, :id, :name, include_blank: true, :selected => params[:customer_id], :required => true%>
</div>
</div>