<commit_before><script>
$(document).ready(function(){
    $(".field").focus(function(){
        $(this).css("background-color", "#cccccc");
    });
    $(".field").blur(function(){
        $(this).css("background-color", "#ffffff");
    });
});
</script>

<%= form_for @user do |f| %>
  <% if @user.errors.any? %>
    <div id="error_explanation">
      <h2>
        <%= pluralize(@user.errors.count, "error") %>
        prohibited this user from being saved:
      </h2>
      <ul>
      <% @user.errors.full_messages.each do |message| %><commit_msg>background color for form fields<commit_after><script>
$(document).ready(function(){
    $("input").focus(function(){
        $(this).css("background-color", "#cccccc");
    });
    $("input").blur(function(){
        $(this).css("background-color", "#ffffff");
    });
});
</script>

<%= form_for @user do |f| %>
  <% if @user.errors.any? %>
    <div id="error_explanation">
      <h2>
        <%= pluralize(@user.errors.count, "error") %>
        prohibited this user from being saved:
      </h2>
      <ul>
      <% @user.errors.full_messages.each do |message| %>
{'fraction_non_alphanumeric': 0.22560429722470904, 'fraction_numerical': 0.0035810205908683975, 'mean_word_length': 3.007168458781362, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '6514649', 'n_tokens_mistral': 382, 'n_tokens_neox': 362, 'n_words': 66}