diff --git a/app/views/vehicles/_details.html.erb b/app/views/vehicles/_details.html.erb index 23b261e..e26dde7 100644 --- a/app/views/vehicles/_details.html.erb +++ b/app/views/vehicles/_details.html.erb @@ -36,10 +36,9 @@ + <%= button_to "Edit", edit_vehicle_path(@vehicle), method: :get%> - - <%= button_to "Delete", @vehicle, method: :delete, data: {confirm: "You sure?"} %>