<%= form_for @vehicle do |f| %>
<%=t(:field_customer)%>:
<%= f.text_field :customer, class: "customer-name", autocomplete: "off", value: @customer.name, required: true,data: { autocomplete_url: "/customers/autocomplete" } %> <%= f.hidden_field :customer_id, id: "issue_customer_id", value: @customer.id %>
<%=t(:label_year)%>:
<%= f.number_field :year, autocomplete: "off" %>
<%=t(:label_make)%>:
<%= f.text_field :make, autocomplete: "off" %>
<%=t(:label_model)%>:
<%= f.text_field :model, autocomplete: "off" %>
<%=t(:field_vin)%>:
<%= f.text_field :vin , autofocus: true %>
<%=t(:field_notes)%>:
<%= f.text_area :notes, cols: 60, rows: 10, no_label: true %>
<%= f.submit %>
<% end %>