Styling & formatting

This commit is contained in:
2022-03-06 13:46:55 -05:00
parent 64a7ad844f
commit d8e3e1a72f
2 changed files with 49 additions and 40 deletions

View File

@@ -34,11 +34,10 @@
<th><%=t(:field_notes)%></th>
<td><%= customer.notes %></td>
</tr>
<tr>
<td>
<%= button_to t(:label_edit_customer), edit_customer_path(customer), method: :get%>
</td>
</tr>
</tbody>
</table>
<div style="float: right;">
<%= button_to t(:label_edit_customer), edit_customer_path(customer), method: :get%>
</div>
<br/>
<br/>

View File

@@ -1,4 +1,9 @@
<table>
<div class="issue">
<div class="splitcontent">
<div class="splitcontentleft">
<h4><%=t(:label_details)%>:</h4>
<table>
<tbody>
<tr>
@@ -19,17 +24,22 @@
<th><%= t(:label_trim) %></th>
<td><%= vehicle.doors %> <%=t(:label_door) if vehicle.doors? %> <%= vehicle.trim %></td>
</tr>
</tbody>
</table>
<tr>
<th><%= t(:field_notes) %></th>
</div>
<div class="splitcontentleft">
<h4><%=t(:field_notes)%>:</h4>
<td><%= vehicle.notes %></td>
</tr>
<tr>
<td>
</div>
</div>
</div>
<div style="float: right;">
<%= button_to t(:label_edit), edit_vehicle_path(vehicle), method: :get%>
<%= button_to t(:label_delete), vehicle, method: :delete, data: {confirm: t(:warn_ru_sure)} %>
</td>
</tr>
</tbody>
</table>
</div>