From 6647e533dfd253b252d79b6f9f5afc676e8e0afa Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Fri, 22 Apr 2016 08:14:41 -0400 Subject: [PATCH] Update index.html.erb --- app/views/vehicles/index.html.erb | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/app/views/vehicles/index.html.erb b/app/views/vehicles/index.html.erb index b82b631..0939b75 100644 --- a/app/views/vehicles/index.html.erb +++ b/app/views/vehicles/index.html.erb @@ -1,18 +1,23 @@

Customer Vehicles


-
<% Vehicle.all.each do |vehicle| %>
-
- - <%= 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?"} %> + +
+
+
+ + <%= 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?"} %> +
+