- model_class = ProductCategory
.page-header= title :show, @product_category
.display-row
  .display-label
    span data-t='attributes.product_category.name'
  .display-field
    span= @product_category.name
.display-row
  .display-label
    span data-t='attributes.product_category.visible_on'
  .display-field
    span= @product_category.visible_on
.display-row
  .display-label
    span data-t='models.plural.product'
  .display-field
    span= @product_category.products.map{|product| link_to product.display, suppliers_product_path(product) }.join(', ').html_safe
= supplier_form_actions :index, :edit, :destroy, object: @product_category, for: :product_categories
