From 35e4c5f9da3b1141fd057fd088d5eac290e61a30 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Fri, 22 Apr 2016 12:04:49 -0400 Subject: [PATCH] User new vehicle details partial --- app/views/vehicles/show.html.erb | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) 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' %>