<commit_before><div class="form signup_form">
  <%= profile_form do |f| %>
      <% if @user.errors.any? %>
          <div id="error_explanation">
            <h2>Update failed, because of <%= pluralize(@user.errors.count, "error") %></h2>

            <ul>
              <% @user.errors.full_messages.each do |message| %>
                  <li><%= message %></li>
              <% end %>
            </ul>
          </div>
      <% end %>
      <div class="row">
        <% if show_label %>
            <div class="col lbl"><%= f.label :email %></div>
        <% end %>
        <div class="col"><%= f.text_field :email, autofocus: true %></div>
        <div class="clearfix"></div>
      </div>
      <% if show_photo or show_extended %>
          <div class="row">
            <% if show_label %>
                <div class="col lbl"><%= f.label :photo %></div>
            <% end %>
            <div class="col"><%= f.file_field :photo %></div>
            <div class="clearfix"></div>
          </div>
      <% end %>
      <% if show_extended %>
          <%= f.fields_for :user_detail do |ud_f| %>
              <% BambooUser::UserDetail.columns_hash.each do |key, value| %>
                  <% unless BambooUser.detail_attributes_to_not_delegate.include?(key) %>
                      <div class="row">
                        <% if show_label %>
                            <div class="col lbl"><%= ud_f.label key %></div>
                        <% end %>
                        <div class="col"><%= ud_f.public_send(column_type_to_field[value.type.to_s], key) %></div>
                        <div class="clearfix"></div>
                      </div>
                  <% end %>
              <% end %>
          <% end %>
      <% end %>
      <div class="row sub">
        <div class="col"><%= f.submit 'Update' %></div>
        <div class="clearfix"></div>
      </div>
  <% end %>
  <div class="clearfix"></div>
</div><commit_msg>Fixing classes in profile edit form<commit_after><div class="form edit_profile_form">
  <%= profile_form do |f| %>
      <% if @user.errors.any? %>
          <div id="error_explanation">
            <h2>Update failed, because of <%= pluralize(@user.errors.count, "error") %></h2>

            <ul>
              <% @user.errors.full_messages.each do |message| %>
                  <li><%= message %></li>
              <% end %>
            </ul>
          </div>
      <% end %>
      <div class="row">
        <% if show_label %>
            <div class="col lbl"><%= f.label :email %></div>
        <% end %>
        <div class="col"><%= f.text_field :email, autofocus: true %></div>
        <div class="clearfix"></div>
      </div>
      <% if show_photo or show_extended %>
          <div class="row">
            <% if show_label %>
                <div class="col lbl"><%= f.label :photo %></div>
            <% end %>
            <div class="col"><%= f.file_field :photo, title: 'Photo'.humanize %></div>
            <div class="clearfix"></div>
          </div>
      <% end %>
      <% if show_extended %>
          <%= f.fields_for :user_detail do |ud_f| %>
              <% BambooUser::UserDetail.columns_hash.each do |key, value| %>
                  <% unless BambooUser.detail_attributes_to_not_delegate.include?(key) %>
                      <div class="row">
                        <% if show_label %>
                            <div class="col lbl"><%= ud_f.label key %></div>
                        <% end %>
                        <div class="col"><%= ud_f.public_send(column_type_to_field[value.type.to_s], key, title: key.humanize) %></div>
                        <div class="clearfix"></div>
                      </div>
                  <% end %>
              <% end %>
          <% end %>
      <% end %>
      <div class="row sub">
        <div class="col"><%= f.submit 'Update' %></div>
        <div class="clearfix"></div>
      </div>
  <% end %>
  <div class="clearfix"></div>
</div>
{'fraction_non_alphanumeric': 0.1815431164901664, 'fraction_numerical': 0.0010085728693898135, 'mean_word_length': 1.542948717948718, 'pattern_counts': {'":': 0, '<': 149, '<?xml version=': 0, '>': 149, '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': '5894315', 'n_tokens_mistral': 1296, 'n_tokens_neox': 1157, 'n_words': 254}