New Issue Button

This commit is contained in:
2016-06-02 09:20:44 -04:00
parent f59aa18be8
commit 7ef3e31465

View File

@@ -44,6 +44,8 @@
<tr>
<td/>
<td>
<%= button_to "New Issue", new_issue_path(:vehicle_id => vehicle.id, :customer_id => vehicle.customer.id), method: :get%>
<%= button_to "Edit", edit_vehicle_path(vehicle), method: :get%>
<%= button_to "Delete", vehicle, method: :delete, data: {confirm: "You sure?"} %>
</td>