From 66779e60f60b1c9d1cbfb92c59425cd8252a9a45 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Fri, 22 Apr 2016 12:04:01 -0400 Subject: [PATCH] Use new vehicle details partial --- app/views/vehicles/index.html.erb | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) diff --git a/app/views/vehicles/index.html.erb b/app/views/vehicles/index.html.erb index 4721810..7a898ec 100644 --- a/app/views/vehicles/index.html.erb +++ b/app/views/vehicles/index.html.erb @@ -4,31 +4,7 @@
- -
-
-
- - <%= vehicle.qbo_customer.name if vehicle.qbo_customer %> - -
- <%= vehicle.to_s %> -
-
-
- Notes: -
-
- <%= 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' %>