Update index.html.erb

This commit is contained in:
2016-08-01 19:08:49 -04:00
committed by GitHub
parent 336d1c7c7b
commit 5c49094b40

View File

@@ -1,3 +1,9 @@
<h1>Customer Vehicles</h1>
<br/>
<%= form_tag(vehicles_path, :method => "get", id: "search-form") do %>
<%= text_field_tag :search, params[:search], placeholder: "Search Vehicles by VIN" %>
<%= submit_tag "Search" %>
<%= button_to "New Vehicle", new_vehicle_path, method: :get %>
<%= render :partial => 'vehicles/list' %>