app/views/admin/merchandise/_sub_header.html.erb
<% if @product && @product.id %>
<% content_for :sidemenu do -%>
<ul>
<!-- <li> <%#= link_to 'Brand', edit_admin_merchandise_brand_path(@product.brand) %> </li> -->
<li>
<%= link_to 'Description',
edit_admin_merchandise_products_description_path(@product),
:style => "#{@product.description.blank? ? 'color:#EF2255;' : ''}" %>
</li>
<li>
<%= link_to 'Images',
edit_admin_merchandise_images_product_path(@product),
:style => "#{@product.images.size == 0 ? 'color:#EF2255;' : ''}" %>
</li>
<li> <%= link_to 'Product', admin_merchandise_product_path(@product) %> </li>
<li> <%= link_to 'Properties',
edit_admin_merchandise_changes_product_property_path(@product.id),
:style => "#{@product.properties.size == 0 ? 'color:#EF2255;' : ''}" %> </li>
<li>
<%= link_to 'Variants',
edit_admin_merchandise_multi_product_variant_path(@product),
:style => "#{@product.variants.size == 0 ? 'color:#EF2255;' : ''}" %> </li>
<li>
<%= link_to "Inventory",
admin_inventory_adjustment_path(@product) %>
</li>
</ul>
<% end %>
<% end %>