diff --git a/app/views/vehicles/_details.html.erb b/app/views/vehicles/_details.html.erb index 3494986..cc2411e 100644 --- a/app/views/vehicles/_details.html.erb +++ b/app/views/vehicles/_details.html.erb @@ -1,47 +1,43 @@ -
-
-
- -
-
-
Customer:
-
<%= @customer %>
-
+ -
Vehicle:
-
<%= @vehicle.to_s %>
- - -
-
VIN:
-
<%= @vehicle.vin %>
-
- -
-
Style:
-
<%= @style %>
-
- -
-
Drive:
-
<%= @drive %>
-
- -
-
Doors:
-
<%= @doors %>
-
- -
-
Notes:
-
<%= @vehicle.notes %>
-
- - -
+
+ + + + + <%= button_to "Edit", edit_vehicle_path(@vehicle), method: :get%> <%= button_to "Delete", @vehicle, method: :delete, data: {confirm: "You sure?"} %> - - - + + +
Notes<%= @vehicle.notes %>