<commit_before><%= form_for @message do |f| %>
  <% if @message.errors.any? %>
    <div class="error_messages">
      <h2>
        <%= I18n.t('activerecord.errors.header', :default => 'Invalid Fields') %>
      </h2>

      <p>
        <%= I18n.t('activerecord.errors.message', :default => 'Correct the following errors and try again.') %>
      </p>

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

  <fieldset class="user-fields">
    <legend>About You</legend>

    <div class="field">
      <%= f.label :name %>
      <%= f.text_field :name %>
    </div>

    <div class="field">
      <%= f.label :email_address %>
      <%= f.text_field :email_address %>
    </div>
  </fieldset>

  <fieldset class="feedback-fields">
    <legend>Leave Your Feedback</legend>

    <div class="field">
      <%= f.label :topic %>
      <%= f.select :topic, PointlessFeedback.message_topics, { :prompt => true } %>
    </div>

    <div class="field">
      <%= f.label :description %>
      <%= f.text_area :description %>
    </div>
  </fieldset>

  <%= f.submit %>
<% end %>
<commit_msg>Changed submit button text to "Submit"<commit_after><%= form_for @message do |f| %>
  <% if @message.errors.any? %>
    <div class="error_messages">
      <h2>
        <%= I18n.t('activerecord.errors.header', :default => 'Invalid Fields') %>
      </h2>

      <p>
        <%= I18n.t('activerecord.errors.message', :default => 'Correct the following errors and try again.') %>
      </p>

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

  <fieldset class="user-fields">
    <legend>About You</legend>

    <div class="field">
      <%= f.label :name %>
      <%= f.text_field :name %>
    </div>

    <div class="field">
      <%= f.label :email_address %>
      <%= f.text_field :email_address %>
    </div>
  </fieldset>

  <fieldset class="feedback-fields">
    <legend>Leave Your Feedback</legend>

    <div class="field">
      <%= f.label :topic %>
      <%= f.select :topic, PointlessFeedback.message_topics, { :prompt => true } %>
    </div>

    <div class="field">
      <%= f.label :description %>
      <%= f.text_area :description %>
    </div>
  </fieldset>

  <%= f.submit 'Submit' %>
<% end %>

{'fraction_non_alphanumeric': 0.20065789473684212, 'fraction_numerical': 0.004934210526315789, 'mean_word_length': 2.4027972027972027, 'pattern_counts': {'":': 0, '<': 91, '<?xml version=': 0, '>': 97, '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': '1882263', 'n_tokens_mistral': 939, 'n_tokens_neox': 820, 'n_words': 168}