<commit_before><%= form_for(@blood_drive) do |f| %>
  <% if @blood_drive.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@blood_drive.errors.count, "error") %> prohibited this blood_drive from being saved:</h2>

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

  <div class="field">
    <%= f.label :location %><br>
    <%= f.text_field :location, class: 'form-control' %>
  </div>
  <div class="field">
    <%= f.label :date %><br>
    <%= f.text_field :date, class: 'form-control' %>
  </div>
  <div class="field">
    <%= f.label :description %><br>
    <%= f.text_field :description, class: 'form-control' %>
  </div>
  <div class="actions">
    <%= f.submit 'Save', class: 'btn btn-primary' %>
  </div>
<% end %>
<commit_msg>add date picker for blood drive form<commit_after><%= form_for(@blood_drive) do |f| %>
  <% if @blood_drive.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@blood_drive.errors.count, "error") %> prohibited this blood_drive from being saved:</h2>

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

  <div class="field">
    <%= f.label :location %><br>
    <%= f.text_field :location, class: 'form-control' %>
  </div>
  <div class="field">
    <%= f.label :date %><br>
    <%= f.date_field :date, class: 'form-control' %>
  </div>
  <div class="field">
    <%= f.label :description %><br>
    <%= f.text_field :description, class: 'form-control' %>
  </div>
  <div class="actions">
    <%= f.submit 'Save', class: 'btn btn-primary' %>
  </div>
<% end %>

{'fraction_non_alphanumeric': 0.22247838616714696, 'fraction_numerical': 0.0023054755043227667, 'mean_word_length': 3.02784222737819, 'pattern_counts': {'":': 0, '<': 71, '<?xml version=': 0, '>': 71, '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': '4135992', 'n_tokens_mistral': 700, 'n_tokens_neox': 631, 'n_words': 140}