<commit_before><%= form_for(@bundle, :html=>{ :class => :new_form}) do |f| %>
  <fieldset>
    <legend><%= title %></legend>
    <% if @bundle.errors.any? %>
      <div id="error_explanation">
        <h2><%= pluralize(@bundle.errors.count, "error") %> prohibited this bundle from being saved:</h2>

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

    <div class="field">
      <%= f.label :name %>
      <br/>
      <%= f.text_field :name %>
    </div>
    <div class="field">
      <%= f.label :target_date %>
      <br/>
      <%= f.datetime_select :target_date %>
    </div>
    <div class="field">
      <%= f.label :description %>
      <br/>
      <%= f.text_area :description %>
    </div>
    <div class="field">
      <%= f.label :state %>
      <br/>
      <%= f.select :state, Bundle::STATES %>
    </div>
    <div class="actions">
      <%= f.submit %>
    </div>
  </fieldset>
<% end %><commit_msg>allow blank target dates for a bundle<commit_after><%= form_for(@bundle, :html=>{ :class => :new_form}) do |f| %>
  <fieldset>
    <legend><%= title %></legend>
    <% if @bundle.errors.any? %>
      <div id="error_explanation">
        <h2><%= pluralize(@bundle.errors.count, "error") %> prohibited this bundle from being saved:</h2>

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

    <div class="field">
      <%= f.label :name %>
      <br/>
      <%= f.text_field :name %>
    </div>
    <div class="field">
      <%= f.label :target_date %>
      <br/>
      <%= f.datetime_select :target_date, :include_blank => true %>
    </div>
    <div class="field">
      <%= f.label :description %>
      <br/>
      <%= f.text_area :description %>
    </div>
    <div class="field">
      <%= f.label :state %>
      <br/>
      <%= f.select :state, Bundle::STATES %>
    </div>
    <div class="actions">
      <%= f.submit %>
    </div>
  </fieldset>
<% end %>
{'fraction_non_alphanumeric': 0.21726755218216318, 'fraction_numerical': 0.0018975332068311196, 'mean_word_length': 2.065406976744186, 'pattern_counts': {'":': 0, '<': 91, '<?xml version=': 0, '>': 96, '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': '2991976', 'n_tokens_mistral': 803, 'n_tokens_neox': 721, 'n_words': 156}