<commit_before>%nav.pure-menu.pure-menu-horizontal.sub-menu
  %ul.pure-menu-list
    %li.pure-menu-item
      = link_to new_product_path, class: "pure-menu-link" do
        #{fa_icon "plus"} New product
.products.content-wrapper.pure-g
  - @products.each do |product|
    .pure-u-2-5
      .img-box
        %p= image_tag(product.image_url, class: 'pure-img img-box')
    .pure-u-2-5
      .list-description
        %p.title=  product.title
        %p= truncate(strip_tags(product.description), length: 180)
        %p.price= number_to_currency(product.price)
    .pure-u-1-5
      .list-options
        = link_to edit_product_path(product), class: "pure-button" do
          #{fa_icon "edit"} Edit
        %br<commit_msg>added atom feed for products<commit_after>%nav.pure-menu.pure-menu-horizontal.sub-menu
  %ul.pure-menu-list
    %li.pure-menu-item
      = link_to new_product_path, class: "pure-menu-link" do
        #{fa_icon "plus"} New product
.products.content-wrapper.pure-g
  - @products.each do |product|
    .pure-u-2-5
      .img-box
        %p= image_tag(product.image_url, class: 'pure-img img-box')
    .pure-u-2-5
      .list-description
        %p.title=  product.title
        %p= truncate(strip_tags(product.description), length: 180)
        %p.price= number_to_currency(product.price)
        %p
          = link_to who_bought_product_url(product.id,:format => :atom), class: "pure-menu-button" do
            #{fa_icon "feed"} Atom Feed
    .pure-u-1-5
      .list-options
        = link_to edit_product_path(product), class: "pure-button" do
          #{fa_icon "edit"} Edit
        %br
{'fraction_non_alphanumeric': 0.1409937888198758, 'fraction_numerical': 0.011180124223602485, 'mean_word_length': 2.4794816414686824, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '2471550', 'n_tokens_mistral': 596, 'n_tokens_neox': 572, 'n_words': 102}