User new vehicle details partial

This commit is contained in:
2016-04-22 12:04:49 -04:00
parent 66779e60f6
commit 35e4c5f9da

View File

@@ -1,13 +1,3 @@
<h1>Customer Vehicle</h1> <h1>Customer Vehicle</h1>
<br/> <br/>
<strong> <%= render :partial => 'vehicles/details' %>
<%= @customer %>
</strong>
<br/>
<%= @vehicle.to_s %>
<br/>
<%= @vehicle.notes %>
<br/>
<%= button_to "Edit", edit_vehicle_path(@vehicle), method: :get%>
<br/>
<%= button_to "Delete", @vehicle, method: :delete, data: {confirm: "You sure?"} %>