diff --git a/app/views/vehicles/_list.html.erb b/app/views/vehicles/_list.html.erb index 10089c2..d14a8ff 100644 --- a/app/views/vehicles/_list.html.erb +++ b/app/views/vehicles/_list.html.erb @@ -2,18 +2,15 @@ <% @vehicles.each do |vehicle| %>
-
-
- <%= vehicle.to_s %> -
- <%= vehicle.customer %> -
- <%= vehicle.vin %> -
-
- <%= button_to "More", vehicle_path(vehicle), method: :get %> -
-
+
+ <%= button_to "##{vehicle.id}, vehicle_path(vehicle) %> +
+
+ <%= vehicle.to_s %> +
+ <%= vehicle.customer %> +
+ <%= vehicle.vin %>
<% end %>