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