mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 17:04:23 -05:00
Update index.html.erb
Updated Buttons
This commit is contained in:
@@ -16,6 +16,6 @@
|
||||
<% Vehicle.all.each do |vehicle| %>
|
||||
<br/>
|
||||
<div>
|
||||
<%= vehicle.qbo_customer.name %> <%= vehicle.to_s %> <%= button_to "Delete", "delete/#{vehicle[:id]}", :confirm => "Are you sure?" %>
|
||||
<%= vehicle.qbo_customer.name %> <%= vehicle.to_s %> <%= button_to "Edit", vehicle, method: :edit %> <%= button_to "Delete", vehicle, method: :delete, data: {confirm: "You sure?"} %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user