mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 17:04:23 -05:00
don't show doors if vehicle.doors is nil
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<th><%= t(:label_trim) %></th>
|
<th><%= t(:label_trim) %></th>
|
||||||
<td><%= vehicle.doors %> <%=t(:label_door)%> <%= vehicle.trim %></td>
|
<td><%= vehicle.doors %> <%=t(:label_door) if vehicle.doors? %> <%= vehicle.trim %></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
|
|||||||
Reference in New Issue
Block a user