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' %>