Formating

This commit is contained in:
2016-04-27 12:41:16 -04:00
parent 593d8e603b
commit b20a343cd2

View File

@@ -1,3 +1,7 @@
<div style="width: 100%; display: table;">
<div style="display: table-row">
<div style="width: 600px; display: table-cell;">
<div class="attributes">
<div class="customer attribute">
<div class="label"><span>Customer</span>:</div>
@@ -34,3 +38,10 @@
<div class="value"><%= @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?"} %>
</div>
</div>
</div>