<commit_before><%= form_for(@task, :html => {:class => "form-horizontal", :role=>"form"}) do |f| %>
  <% if @task.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@task.errors.count, "error") %> prohibited this task from being saved:</h2>

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

  <div class="field">
    <%= f.label :name %><br>
    <%= f.text_field :name %>
  </div>
  <div class="field">
    <%= f.label :start_at %><br>
    <input type="text" name="task[date]" class="datepicker"/>
  </div>
  <div class="field">
    <%= f.label :start_at %><br>
    <input type="text" name="task[starttime]" class="input-small timepicker"/>
  </div>
  <div class="field">
    <%= f.label :end_at %><br>
    <input type="text" name="task[endtime]" class="input-small timepicker"/>
  </div>
  <div class="field">
    <%= f.label :project_id %><br>
    <%= f.collection_select(:project_id, Project.all, :id, :name) %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %><commit_msg>日付のラベルを修正<commit_after><%= form_for(@task, :html => {:class => "form-horizontal", :role=>"form"}) do |f| %>
  <% if @task.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@task.errors.count, "error") %> prohibited this task from being saved:</h2>

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

  <div class="field">
    <%= f.label :name %><br>
    <%= f.text_field :name %>
  </div>
  <div class="field">
    <label for="task_date">Date</label><br>
    <input type="text" name="task[date]" class="datepicker"/>
  </div>
  <div class="field">
    <%= f.label :start_at %><br>
    <input type="text" name="task[starttime]" class="input-small timepicker"/>
  </div>
  <div class="field">
    <%= f.label :end_at %><br>
    <input type="text" name="task[endtime]" class="input-small timepicker"/>
  </div>
  <div class="field">
    <%= f.label :project_id %><br>
    <%= f.collection_select(:project_id, Project.all, :id, :name) %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>
{'fraction_non_alphanumeric': 0.23856063971568192, 'fraction_numerical': 0.001776988005330964, 'mean_word_length': 3.2895238095238097, 'pattern_counts': {'":': 0, '<': 92, '<?xml version=': 0, '>': 98, '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': '3371939', 'n_tokens_mistral': 896, 'n_tokens_neox': 828, 'n_words': 173}