Update _details.html.erb

This commit is contained in:
2016-04-27 13:00:28 -04:00
parent 8e80277a15
commit f7d809e90a

View File

@@ -38,6 +38,8 @@
<tr> <tr>
<td> <td>
<%= button_to "Edit", edit_vehicle_path(@vehicle), method: :get%> <%= button_to "Edit", edit_vehicle_path(@vehicle), method: :get%>
</td>
<td>
<%= button_to "Delete", @vehicle, method: :delete, data: {confirm: "You sure?"} %> <%= button_to "Delete", @vehicle, method: :delete, data: {confirm: "You sure?"} %>
</td> </td>
</tr> </tr>