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?"} %> +
+