From 3b5f6691fb8b5ada807ef1651d7feeb376f09f66 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Fri, 22 Apr 2016 08:03:54 -0400 Subject: [PATCH] Update index.html.erb Strong Customers --- app/views/vehicles/index.html.erb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/views/vehicles/index.html.erb b/app/views/vehicles/index.html.erb index 0396988..a59a49f 100644 --- a/app/views/vehicles/index.html.erb +++ b/app/views/vehicles/index.html.erb @@ -5,8 +5,11 @@
- <%= vehicle.qbo_customer.name if vehicle.qbo_customer %> - <%= vehicle.to_s %> +
+ + <%= 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?"} %>