Update show.html.erb

Display Notes
This commit is contained in:
2016-04-22 09:31:03 -04:00
parent a409514467
commit dfd7dfcf79

View File

@@ -1,9 +1,13 @@
<h1>Customer Vehicle</h1> <h1>Customer Vehicle</h1>
<br/> <br/>
<%= @vehicle.qbo_customer.name if @vehicle.qbo_customer %> <strong>
<%= @customer %>
</strong>
<br/> <br/>
<%= @vehicle.to_s %> <%= @vehicle.to_s %>
<br/> <br/>
<%= @vehicle.notes %>
<br/>
<%= button_to "Edit", edit_vehicle_path(@vehicle), method: :get%> <%= button_to "Edit", edit_vehicle_path(@vehicle), method: :get%>
<br/> <br/>
<%= button_to "Delete", @vehicle, method: :delete, data: {confirm: "You sure?"} %> <%= button_to "Delete", @vehicle, method: :delete, data: {confirm: "You sure?"} %>