<%= 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: "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, rows: 8, class: 'wiki-edit', style: 'width: 95%;', id: 'customer_appointment_description' %> <%= wikitoolbar_for 'customer_appointment_description' %>

<%= f.submit %>
<% end %>