Update index.html.erb

This commit is contained in:
2016-04-22 09:40:41 -04:00
parent fec1512930
commit 51586800a0

View File

@@ -14,6 +14,7 @@
<br/> <br/>
<%= vehicle.to_s %> <%= vehicle.to_s %>
<br/> <br/>
<div class="notes">
<div style="float: left"> <div style="float: left">
Notes: Notes:
</div> </div>
@@ -21,6 +22,7 @@
<%= vehicle.notes %> <%= vehicle.notes %>
</div> </div>
</div> </div>
</div>
<div style="display: table-cell;"> <div style="display: table-cell;">
<%= button_to "Edit", edit_vehicle_path(vehicle), method: :get%> <%= button_to "Edit", edit_vehicle_path(vehicle), method: :get%>
<%= button_to "Delete", vehicle, method: :delete, data: {confirm: "You sure?"} %> <%= button_to "Delete", vehicle, method: :delete, data: {confirm: "You sure?"} %>