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

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

  <div class="field">
    <%= f.label :departlocation %><br>
    <%= f.text_field :departlocation %>
  </div>
  <div class="field">
    <%= f.label :arrivelocation %><br>
    <%= f.text_field :arrivelocation %>
  </div>
  <div class="field">
    <%= f.label :departtime %><br>
    <%= f.datetime_select :departtime %>
  </div>
  <div class="field">
    <%= f.label :arrivetime %><br>
    <%= f.datetime_select :arrivetime %>
  </div>
  <div class="field">
    <%= f.label :seatsavailable %><br>
    <%= f.number_field :seatsavailable %>
  </div>
  <div class="field">
    <%= f.label :costperseat %><br>
    <%= f.text_field :costperseat %>
  </div>
  <div class="field">
    <%= f.label :preferences %><br>
    <%= f.text_area :preferences %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %><commit_msg>adds smoking and children checkboxes to form<commit_after><%= form_for(@ride) do |f| %>
  <% if @ride.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@ride.errors.count, "error") %> prohibited this ride from being saved:</h2>

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

  <div class="field">
    <%= f.label :departlocation %><br>
    <%= f.text_field :departlocation %>
  </div>
  <div class="field">
    <%= f.label :arrivelocation %><br>
    <%= f.text_field :arrivelocation %>
  </div>
  <div class="field">
    <%= f.label :departtime %><br>
    <%= f.datetime_select :departtime %>
  </div>
  <div class="field">
    <%= f.label :arrivetime %><br>
    <%= f.datetime_select :arrivetime %>
  </div>
  <div class="field">
    <%= f.label :seatsavailable %><br>
    <%= f.number_field :seatsavailable %>
  </div>
  <div class="field">
    <%= f.label :costperseat %><br>
    <%= f.text_field :costperseat %>
  </div>
  <div class="field">
    <%= f.label :smoking %>
    <%= f.check_box :smoking %>
  </div>
  <div class="field">
    <%= f.label :children %>
    <%= f.check_box :children %>
  </div>
  <div class="field">
    <%= f.label :preferences %><br>
    <%= f.text_area :preferences %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>
{'fraction_non_alphanumeric': 0.22464049747376602, 'fraction_numerical': 0.001554605518849592, 'mean_word_length': 2.8940998487140694, 'pattern_counts': {'":': 0, '<': 119, '<?xml version=': 0, '>': 119, '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': '1184242', 'n_tokens_mistral': 1068, 'n_tokens_neox': 972, 'n_words': 198}