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