<commit_before>
.container
  h3.header Display item
  table class="table table-bordered"
    thead
      tr
        th.th_1 Product name
        th.th_2 Product Weight (in grams)
        th.th_3 Product Calories (in calories)
        th.th_4 Action
        th.th_4

    tbody
      / - for item in @products
      tr
        td.td_1 => @product.product_name
        td.td_2 => @product.product_weight
        td.td_3 => @product.product_calories
        td.td_4 = link_to "edit", edit_product_url(@product)
        td.td_4 = link_to "delete", product_url(@product), method: :delete,
          confirm: "are you sure you want to delete ' #{@product.product_name} ' ?"<commit_msg>update product show file with additional fields<commit_after>
.container
  h3.header Display item
  table class="table table-bordered"
    thead
      tr
        th.th_1 Product name
        th.th_2 Brand
        th.th_3 Category
        th.th_4 Sub category
        th.th_5 Product Weight (in grams)
        th.th_6 Product Calories (in calories)
        th.th_7 image
        th.th_8 Action
        th.th_8

    tbody
      / - for item in @products
      tr
        td.td_1 => @product.product_name
        td.td_2 => @product.brand
        td.td_3 => @product.category
        td.td_4 => @product.sub_category
        td.td_5 => @product.product_weight
        td.td_6 => @product.product_calories
        td.td_7
        td.td_8 = link_to "edit", edit_product_url(@product)
        td.td_8 = link_to "delete", product_url(@product), method: :delete,
          confirm: "are you sure you want to delete ' #{@product.product_name} ' ?"
{'fraction_non_alphanumeric': 0.0952970297029703, 'fraction_numerical': 0.018564356435643563, 'mean_word_length': 2.152046783625731, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 12, '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': '2342607', 'n_tokens_mistral': 525, 'n_tokens_neox': 514, 'n_words': 136}