diff --git a/app/views/vehicles/show.html.erb b/app/views/vehicles/show.html.erb index f3fd034..09c4f6f 100644 --- a/app/views/vehicles/show.html.erb +++ b/app/views/vehicles/show.html.erb @@ -1,13 +1,3 @@

Customer Vehicle


- - <%= @customer %> - -
-<%= @vehicle.to_s %> -
-<%= @vehicle.notes %> -
-<%= button_to "Edit", edit_vehicle_path(@vehicle), method: :get%> -
-<%= button_to "Delete", @vehicle, method: :delete, data: {confirm: "You sure?"} %> +<%= render :partial => 'vehicles/details' %>