<commit_before><h1>Enter Progress Monitor Scores and Comments</h1>

<h2>
Intervention-<%=@grouped_progress_entry %>
</h2>

<h3>
  <%=@probe_definition.title %>
</h3>
<p>
  <%=@probe_definition.description %>
</p>
<%=links_and_attachments(@probe_definition, 'p') %>


Min <%=@probe_definition.minimum_score %> -  Max: <%=@probe_definition.maximum_score %>

<%= @probe_definition.probe_definition_benchmarks.join('<br /') %>

<% form_for(@grouped_progress_entry) do |f| %>
  <%=f.unobtrusive_date_picker :global_date , {:order => [:month, :day, :year]}, :onchange => 'grouped_change_date();'  %>


  <%#= f.error_messages %>
  <table>
    <thead>
      <tr>
        <th>&nbsp</th>
        <th>Student</th>
        <th>Score</th>
        <th>Date</th>
        <th>Comment</th>
      </tr>
    </thead>
    <tbody>
      <% for @student_intervention in @grouped_progress_entry.student_interventions  %>
        <tr>
          <% fields_for "student_intervention[]" do |field| %>
            <td><div style="color: red"><%=@student_intervention.errors%></div></td>
            <td><%= @student_intervention.student %></td>
            <td><%@student_intervention.score%><%= field.text_field :score%></td>
            <td class="date"><%@student_intervention.date%><%= field.unobtrusive_date_picker :date, :order => [:month, :day, :year] %></td>
            <td><%= field.text_area(:comment, :size => '25x2') %> </td>

          <% end %>
        </tr>
     <% end %>

    </tbody>
  </table>
  <p>
    <%= f.submit 'Add Scores' %>
  </p>
<% end %>

<%= link_to 'Back', grouped_progress_entries_path %><commit_msg>add spell check to grouped progress entry<commit_after><h1>Enter Progress Monitor Scores and Comments</h1>

<h2>
Intervention-<%=@grouped_progress_entry %>
</h2>

<h3>
  <%=@probe_definition.title %>
</h3>
<p>
  <%=@probe_definition.description %>
</p>
<%=links_and_attachments(@probe_definition, 'p') %>


<p>Min: <%=@probe_definition.minimum_score %> -  Max: <%=@probe_definition.maximum_score %></p>

<%= @probe_definition.probe_definition_benchmarks.join('<br /') %>

<% form_for(@grouped_progress_entry) do |f| %>
  <%=f.unobtrusive_date_picker :global_date , {:order => [:month, :day, :year]}, :onchange => 'grouped_change_date();'  %>


  <%#= f.error_messages %>
  <table>
    <thead>
      <tr>
        <th>&nbsp</th>
        <th>Student</th>
        <th>Score</th>
        <th>Date</th>
        <th>Comment</th>
      </tr>
    </thead>
    <tbody>
      <% for @student_intervention in @grouped_progress_entry.student_interventions  %>
        <tr>
          <% fields_for "student_intervention[]" do |field| %>
            <td><div style="color: red"><%=@student_intervention.errors%></div></td>
            <td><%= @student_intervention.student %></td>
            <td><%@student_intervention.score%><%= field.text_field :score%></td>
            <td class="date"><%@student_intervention.date%><%= field.unobtrusive_date_picker :date, :order => [:month, :day, :year] %></td>
            <td><%= field.text_area(:comment, :size => '25x2', :class => 'spell_check') %> </td>

          <% end %>
        </tr>
     <% end %>

    </tbody>
  </table>
  <p>
  <%= f.submit 'Add Scores' %> <%=spell_check_button%>
  </p>
<% end %>

<%= link_to 'Back', grouped_progress_entries_path %>
{'fraction_non_alphanumeric': 0.2076386783873901, 'fraction_numerical': 0.005456198848135798, 'mean_word_length': 3.3421052631578947, 'pattern_counts': {'":': 0, '<': 140, '<?xml version=': 0, '>': 147, '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': '4547783', 'n_tokens_mistral': 1283, 'n_tokens_neox': 1163, 'n_words': 192}