<div class="row">
  <div class="span6 columns">
    <fieldset>

      <%= form_for @vehicle do |f| %> 
        <div class="clearfix">
          <%=t(:field_customer)%>:
          <div class="input">
            <%= 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 %>
          </div>
        </div>
        
        <div class="clearfix">
          <%=t(:label_year)%>: 
          <div class="input">
            <%= f.number_field :year, autocomplete: "off"  %>
          </div>
        </div>
        
        <div class="clearfix">
          <%=t(:label_make)%>:
          <div class="input">
            <%= f.text_field :make, autocomplete: "off"  %>
          </div>
        </div>
        
        <div class="clearfix">
          <%=t(:label_model)%>:
          <div class="input">
            <%= f.text_field :model, autocomplete: "off"  %>
          </div>
        </div>
        
        <div class="clearfix">
          <%=t(:field_vin)%>:
          <div class="input">
            <%= f.text_field :vin , autofocus: true %>
          </div>
        </div>
        
        <div class="clearfix">
          <%=t(:field_notes)%>: 
          <div class="input">
             <p>
                <%= f.text_area :notes,
                                rows: 8,
                                class: 'wiki-edit',
                                style: 'width: 95%;',
                                id: 'customer_appointment_description' %>
                <%= wikitoolbar_for 'customer_appointment_description' %>
              </p>
          </div>
        </div>
        
       <div class="actions">
        <%= f.submit %>
       </div>
      <% end %>

    </fieldset>
  </div>
</div>
