+
<%=t(:label_details)%>:
+
+
+
-
- | <%= t(:field_notes) %> |
- <%= vehicle.notes %> |
-
-
-
- |
- <%= 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)} %>
- |
-
-
-
+
+ | <%= t(:field_customer)%> |
+ <%= link_to vehicle.customer.name, customer_path(vehicle.customer) %> |
+
+
+
+ | <%= t(:field_vehicle) %> |
+ <%= vehicle.to_s %> |
+
+
+
+ | <%= t(:field_vin) %> |
+ <%= @vin[0] if @vin %><%=@vin[1] if @vin%> |
+
+
+
<%= t(:label_trim) %> |
+
<%= vehicle.doors %> <%=t(:label_door) if vehicle.doors? %> <%= vehicle.trim %> |
+
+