From 6d961addbe310fd1b613bc61da0e56dd99c2aba4 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Fri, 22 Apr 2016 08:08:30 -0400 Subject: [PATCH] Update index.html.erb --- app/views/vehicles/index.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/vehicles/index.html.erb b/app/views/vehicles/index.html.erb index 26b4f33..b82b631 100644 --- a/app/views/vehicles/index.html.erb +++ b/app/views/vehicles/index.html.erb @@ -5,12 +5,12 @@
-
+
<%= vehicle.qbo_customer.name if vehicle.qbo_customer %> - <%= vehicle.to_s %> -
+
<%= button_to "Edit", edit_vehicle_path(vehicle), method: :get%> <%= button_to "Delete", vehicle, method: :delete, data: {confirm: "You sure?"} %>