<commit_before><h4>Suggest a topic:</h4>

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

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

  <div class="form-group">
    <%= f.text_field :user_name, :placeholder => 'Name', :class => 'form-control' %>
  </div>
  <div class="form-group">
    <%= f.text_area :body, :placeholder => 'Suggest a topic', :class => 'form-control' %>
  </div>
  <%= f.hidden_field :group_id %>
  <div class="actions">
    <%= f.submit :class => "btn btn-primary"  %>
  </div>
<% end %><commit_msg>Remove unnecessary input field<commit_after><h4>Suggest a topic:</h4>

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

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

  <div class="form-group">
    <%= f.text_area :body, :placeholder => 'Suggest a topic', :class => 'form-control' %>
  </div>
  <%= f.hidden_field :group_id %>
  <div class="actions">
    <%= f.submit :class => "btn btn-primary"  %>
  </div>
<% end %>
{'fraction_non_alphanumeric': 0.2282463186077644, 'fraction_numerical': 0.00535475234270415, 'mean_word_length': 3.0735694822888284, 'pattern_counts': {'":': 0, '<': 56, '<?xml version=': 0, '>': 68, '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': '3198363', 'n_tokens_mistral': 589, 'n_tokens_neox': 533, 'n_words': 120}