<commit_before><%= form_for(@product, html: {multipart: true}) do |f| %>
  <% if @product.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@product.errors.count, "error") %> prohibited this product from being saved:</h2>

      <ul>
      <% @product.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :categories %><br />
    <%= f.select :categories, @display_categories %>
  </div>
  <br/>
  <br/>
  <div class="field">
    <%= f.label :name %><br />
    <%= f.text_field :name %>
  </div>
  <div class="field">
    <%= f.label :brand %><br />
    <%= f.text_field :brand %>
  </div>
  <div class="field">
    <%= f.label :description %><br />
    <%= f.text_area :description %>
  </div>
  <div class="field">
    <%= f.label :details %><br />
    <%= f.text_area :details %>
  </div>

  <div class="field">
  <%= f.fields_for :picture_link_texts do |builder| %>
    <%= render "landing_page_eng/landing_pages/picture_link_text_fields", f: builder %>
  <% end %>
  <%= link_to_add_fields "Click to add a picture-link-text", f, :picture_link_texts, "landing_page_eng/landing_pages/picture_link_text_fields" %><commit_msg>added back in slug<commit_after><%= form_for(@product, html: {multipart: true}) do |f| %>
  <% if @product.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@product.errors.count, "error") %> prohibited this product from being saved:</h2>

      <ul>
      <% @product.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :categories %><br />
    <%= f.select :categories, @display_categories %>
  </div>
  <br/>
  <br/>
  <div class="field">
    <%= f.label :slug %><br />
    <%= f.text_field :slug %>
  </div>
  <div class="field">
    <%= f.label :name %><br />
    <%= f.text_field :name %>
  </div>
  <div class="field">
    <%= f.label :brand %><br />
    <%= f.text_field :brand %>
  </div>
  <div class="field">
    <%= f.label :description %><br />
    <%= f.text_area :description %>
  </div>
  <div class="field">
    <%= f.label :details %><br />
    <%= f.text_area :details %>
  </div>

  <div class="field">
  <%= f.fields_for :picture_link_texts do |builder| %>
    <%= render "landing_page_eng/landing_pages/picture_link_text_fields", f: builder %>
  <% end %>
  <%= link_to_add_fields "Click to add a picture-link-text", f, :picture_link_texts, "landing_page_eng/landing_pages/picture_link_text_fields" %>
{'fraction_non_alphanumeric': 0.21337946943483277, 'fraction_numerical': 0.0015378700499807767, 'mean_word_length': 3.117088607594937, 'pattern_counts': {'":': 0, '<': 102, '<?xml version=': 0, '>': 102, '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': '2488878', 'n_tokens_mistral': 1039, 'n_tokens_neox': 955, 'n_words': 199}