<commit_before><div data-hook="admin_inside_taxon_form" class="row">
  <div class="col-5">
    <%= f.field_container :name do %>
      <%= f.label :name, class: 'required' %><br />
      <%= text_field :taxon, :name, class: 'fullwidth' %>
      <%= error_message_on :taxon, :name, class: 'fullwidth title' %>
    <% end %>

    <%= f.field_container :permalink_part do %>
      <%= label_tag :permalink_part, Spree::Taxon.human_attribute_name(:permalink), class: 'required' %><br />
      <div class="input-group">
        <span class="input-group-addon"><%= @taxon.permalink.split('/')[0...-1].join('/') + '/' %></span>
        <%= text_field_tag :permalink_part, @permalink_part, class: 'fullwidth form-control' %><br />
      </div>
    <% end %>

    <%= f.field_container :icon do %>
      <%= f.label :icon %><br />
      <%= f.file_field :icon %>
      <%= image_tag f.object.icon(:mini) if f.object.icon.present? %>
    <% end %>
  </div>

  <div class="col-5">
    <%= f.field_container :description do %>
      <%= f.label :description %><br />
      <%= f.text_area :description, class: 'fullwidth', rows: 6 %>
    <% end %>
  </div><commit_msg>Hide `/` input addon for top-level taxon<commit_after><div data-hook="admin_inside_taxon_form" class="row">
  <div class="col-5">
    <%= f.field_container :name do %>
      <%= f.label :name, class: 'required' %><br />
      <%= text_field :taxon, :name, class: 'fullwidth' %>
      <%= error_message_on :taxon, :name, class: 'fullwidth title' %>
    <% end %>

    <%= f.field_container :permalink_part do %>
      <%= label_tag :permalink_part, Spree::Taxon.human_attribute_name(:permalink), class: 'required' %><br />
      <div class="input-group">
        <% if @taxon.parent %>
          <span class="input-group-addon"><%= @taxon.permalink.split('/')[0...-1].join('/') + '/' %></span>
        <% end %>
        <%= text_field_tag :permalink_part, @permalink_part, class: 'fullwidth form-control' %><br />
      </div>
    <% end %>

    <%= f.field_container :icon do %>
      <%= f.label :icon %><br />
      <%= f.file_field :icon %>
      <%= image_tag f.object.icon(:mini) if f.object.icon.present? %>
    <% end %>
  </div>

  <div class="col-5">
    <%= f.field_container :description do %>
      <%= f.label :description %><br />
      <%= f.text_area :description, class: 'fullwidth', rows: 6 %>
    <% end %>
  </div>
{'fraction_non_alphanumeric': 0.21506276150627615, 'fraction_numerical': 0.0041841004184100415, 'mean_word_length': 2.991652754590985, 'pattern_counts': {'":': 0, '<': 71, '<?xml version=': 0, '>': 71, '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': '1210922', 'n_tokens_mistral': 931, 'n_tokens_neox': 850, 'n_words': 165}