<commit_before>= content_for :page_title do
  = Spree.t(:editing_product)
  = "\"#{@product.name}\""

= content_for :sidebar_title do
  %span.sku
    = @product.sku

= content_for :sidebar do
  %nav.menu
    %ul
      - if can?(:admin, Spree::Product)
        - klass = current == 'Product Details' ? 'active' : ''
        %li{:class => klass}
          = link_to_with_icon 'icon-edit', Spree.t(:product_details), edit_admin_product_url(@product)
      - if can?(:admin, Spree::Image)
        - klass = current == 'Images' ? 'active' : ''
        %li{:class => klass}
          = link_to_with_icon 'icon-picture', Spree.t(:images), admin_product_images_url(@product)
      - if can?(:admin, Spree::Variant)
        - klass = current == 'Variants' ? 'active' : ''
        %li{:class => klass}
          = link_to_with_icon 'icon-th-large', Spree.t(:variants),  admin_product_variants_url(@product)
      - if can?(:admin, Spree::ProductProperty)
        - klass = current == 'Product Properties' ? 'active' : ''
        %li{:class => klass}
          = link_to_with_icon 'icon-tasks', Spree.t(:product_properties), admin_product_product_properties_url(@product)
      - klass = current == 'Product Distributions' ? 'active' : ''
      %li{:class => klass}
        = link_to_with_icon 'icon-tasks', t('admin.products.product_distributions'), product_distributions_admin_product_url(@product)
      - klass = current == 'Group Buy Options' ? 'active' : ''
      %li{:class => klass}
        = link_to_with_icon 'icon-tasks', t('admin.products.group_buy_options'), group_buy_options_admin_product_url(@product)
      - klass = current == t(:Search) ? 'active' : ''
      %li{:class => klass}
        = link_to_with_icon 'icon-tasks', t(:Search), seo_admin_product_url(@product)<commit_msg>Remove deleted menu entry product distributions<commit_after>= content_for :page_title do
  = Spree.t(:editing_product)
  = "\"#{@product.name}\""

= content_for :sidebar_title do
  %span.sku
    = @product.sku

= content_for :sidebar do
  %nav.menu
    %ul
      - if can?(:admin, Spree::Product)
        - klass = current == 'Product Details' ? 'active' : ''
        %li{:class => klass}
          = link_to_with_icon 'icon-edit', Spree.t(:product_details), edit_admin_product_url(@product)
      - if can?(:admin, Spree::Image)
        - klass = current == 'Images' ? 'active' : ''
        %li{:class => klass}
          = link_to_with_icon 'icon-picture', Spree.t(:images), admin_product_images_url(@product)
      - if can?(:admin, Spree::Variant)
        - klass = current == 'Variants' ? 'active' : ''
        %li{:class => klass}
          = link_to_with_icon 'icon-th-large', Spree.t(:variants),  admin_product_variants_url(@product)
      - if can?(:admin, Spree::ProductProperty)
        - klass = current == 'Product Properties' ? 'active' : ''
        %li{:class => klass}
          = link_to_with_icon 'icon-tasks', Spree.t(:product_properties), admin_product_product_properties_url(@product)
      - klass = current == 'Group Buy Options' ? 'active' : ''
      %li{:class => klass}
        = link_to_with_icon 'icon-tasks', t('admin.products.group_buy_options'), group_buy_options_admin_product_url(@product)
      - klass = current == t(:Search) ? 'active' : ''
      %li{:class => klass}
        = link_to_with_icon 'icon-tasks', t(:Search), seo_admin_product_url(@product)
{'fraction_non_alphanumeric': 0.1608888888888889, 'fraction_numerical': 0.0, 'mean_word_length': 3.3337612323491657, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 16, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2886042', 'n_tokens_mistral': 1107, 'n_tokens_neox': 1129, 'n_words': 199}