<commit_before><tr id="user-<%= user.id %>-row" class="editable" name="<%= user.id %>">
  <%= simple_form_for user, url:  update_user_path(user), remote:  true do |f| %>
    <td><%= f.input :username, label:  false %></td>
    <td><%= f.input :nickname, label:  false %></td>
    <td><%= f.input :email, label:  false %></td>
    <td><%= f.input :first_name, label:  false %></td>
    <td><%= f.input :last_name, label:  false %></td>
    
    <% if current_user.admin? %>
      <td><%= user.sign_in_count %></td>
      <td><%= f.input :system_role, collection:  [["User", "user"]]], include_blank:  false, label:  false %>
    <% else %>
      <td><%= user.sign_in_count %></td>
      <td><%= user.system_role %></td>
    <% end %><commit_msg>Fixed AJAX user edit<commit_after><tr id="user-<%= user.id %>-row" class="editable" name="<%= user.id %>">
  <%= simple_form_for user, url:  update_user_path(user), remote:  true do |f| %>
    <td><%= f.input :username, label:  false %></td>
    <td><%= f.input :nickname, label:  false %></td>
    <td><%= f.input :email, label:  false %></td>
    <td><%= f.input :first_name, label:  false %></td>
    <td><%= f.input :last_name, label:  false %></td>
    
    <% if current_user.admin? %>
      <td><%= user.sign_in_count %></td>
      <td><%= f.input :system_role,
            collection: [["User", "user"], ["Admin", "admin"], ["Super Admin", "superadmin"]],
            selected: user.system_role,
            include_blank: false,
            label: false
        %>
      </td>
    <% else %>
      <td><%= user.sign_in_count %></td>
      <td><%= user.system_role %></td>
    <% end %>
{'fraction_non_alphanumeric': 0.23626373626373626, 'fraction_numerical': 0.0, 'mean_word_length': 2.9304556354916067, 'pattern_counts': {'":': 0, '<': 70, '<?xml version=': 0, '>': 70, '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': '6600064', 'n_tokens_mistral': 645, 'n_tokens_neox': 602, 'n_words': 147}