<commit_before><!-- Content Header (Page header) -->
<section class="content-header">
  <div class="container-fluid">
    <div class="row mb-2">
      <div class="col-sm-6">
        <% content_for :title, "Diaper Drives - #{current_organization.name}" %>
        <h1>
          Diaper Drives
          <small>for <%= current_organization.name %></small>
        </h1>
      </div>
      <div class="col-sm-6">
        <ol class="breadcrumb float-sm-right">
          <li class="breadcrumb-item"><%= link_to(dashboard_path) do %>
              <i class="fa fa-dashboard"></i> Home
            <% end %>
          </li>
          <li class="breadcrumb-item"><a href="#">Diaper Drives</a></li>
        </ol>
      </div>
    </div>
  </div><!-- /.container-fluid -->
</section>
<!-- Main content -->
<section class="content">
  <div class="container-fluid">
    <div class="row">
      <!-- left column -->
      <div class="col-md-12">
        <!-- jquery validation -->
        <div class="card card-primary">
          <div class="card-header">
            <h3 class="card-title">Diaper Drive Filters</h3>
          </div>
          <!-- /.card-header -->
          <!-- form start -->
          <div class="card-body">
            <%= form_tag(diaper_drives_path, method: :get, organization_id: current_organization) do |f| %>
              <div class="row">
                <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                  <%= filter_select(scope: :by_name, collection: @diaper_drives, key: :name, value: :name, selected: @selected_name_filter) %>
                </div>
                <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                  <%= label_tag "Date Range" %>
                  <%= render partial: "shared/date_range_picker", locals: {css_class: "form-control"} %>
                </div>
              </div>
              </div>
              <div class="card-footer">
                <%= filter_button %>
                <%= clear_filter_button %>
                <span class="float-right">
                  <%= new_button_to new_diaper_drive_path(organization_id: current_organization), {text: "New Diaper Drive"} %>
                  </span>
              </div>
            <% end # form %>
            </div>
        <!-- /.card -->
      </div>
      <!--/.col (left) -->
      <!-- right column -->
      <div class="col-md-6">

      </div>
      <!--/.col (right) -->
    </div>
    <!-- /.row -->
  </div><!-- /.container-fluid -->

  <div class="container-fluid">
    <div class="row">
      <div class="col-12">
        <!-- Default box -->
        <div class="card">
          <div class="card-body p-0">
            <table class="table">
              <thead>
              <tr>
                <th>Diaper Drive Name</th>
                <th>Start Date</th>
                <th>End Date</th>
                <th>Held Virtually?<th>
                <th class="numeric">Quantity of Items</th>
                <th class="numeric">Variety of Items</th>
                <th class="numeric">In Kind Value</th>
                <th class="text-right">Actions</th>
              </tr>
              </thead>
              <tbody>
              <% @diaper_drives.each do |diaper_drive| %>
                <tr>
                  <td><%= diaper_drive.name %></td>
                  <td><%= diaper_drive.start_date.strftime("%m-%d-%Y") %></td>
                  <td><%= diaper_drive.end_date.strftime("%m-%d-%Y") %></td>
                  <td><%= is_virtual(diaper_drive: diaper_drive) %></td>
                  <td class="text-right"><%= diaper_drive.donation_quantity %></td>
                  <td class="text-right"><%= diaper_drive.distinct_items %></td>
                  <td class="text-right"><strong><%= dollar_value(diaper_drive.in_kind_value) %></strong></td><commit_msg>Adds missing slash in closing TH tag (#2246)<commit_after><!-- Content Header (Page header) -->
<section class="content-header">
  <div class="container-fluid">
    <div class="row mb-2">
      <div class="col-sm-6">
        <% content_for :title, "Diaper Drives - #{current_organization.name}" %>
        <h1>
          Diaper Drives
          <small>for <%= current_organization.name %></small>
        </h1>
      </div>
      <div class="col-sm-6">
        <ol class="breadcrumb float-sm-right">
          <li class="breadcrumb-item"><%= link_to(dashboard_path) do %>
              <i class="fa fa-dashboard"></i> Home
            <% end %>
          </li>
          <li class="breadcrumb-item"><a href="#">Diaper Drives</a></li>
        </ol>
      </div>
    </div>
  </div><!-- /.container-fluid -->
</section>
<!-- Main content -->
<section class="content">
  <div class="container-fluid">
    <div class="row">
      <!-- left column -->
      <div class="col-md-12">
        <!-- jquery validation -->
        <div class="card card-primary">
          <div class="card-header">
            <h3 class="card-title">Diaper Drive Filters</h3>
          </div>
          <!-- /.card-header -->
          <!-- form start -->
          <div class="card-body">
            <%= form_tag(diaper_drives_path, method: :get, organization_id: current_organization) do |f| %>
              <div class="row">
                <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                  <%= filter_select(scope: :by_name, collection: @diaper_drives, key: :name, value: :name, selected: @selected_name_filter) %>
                </div>
                <div class="form-group col-lg-3 col-md-4 col-sm-6 col-xs-12">
                  <%= label_tag "Date Range" %>
                  <%= render partial: "shared/date_range_picker", locals: {css_class: "form-control"} %>
                </div>
              </div>
              </div>
              <div class="card-footer">
                <%= filter_button %>
                <%= clear_filter_button %>
                <span class="float-right">
                  <%= new_button_to new_diaper_drive_path(organization_id: current_organization), {text: "New Diaper Drive"} %>
                  </span>
              </div>
            <% end # form %>
            </div>
        <!-- /.card -->
      </div>
      <!--/.col (left) -->
      <!-- right column -->
      <div class="col-md-6">

      </div>
      <!--/.col (right) -->
    </div>
    <!-- /.row -->
  </div><!-- /.container-fluid -->

  <div class="container-fluid">
    <div class="row">
      <div class="col-12">
        <!-- Default box -->
        <div class="card">
          <div class="card-body p-0">
            <table class="table">
              <thead>
              <tr>
                <th>Diaper Drive Name</th>
                <th>Start Date</th>
                <th>End Date</th>
                <th>Held Virtually?</th>
                <th class="numeric">Quantity of Items</th>
                <th class="numeric">Variety of Items</th>
                <th class="numeric">In Kind Value</th>
                <th class="text-right">Actions</th>
              </tr>
              </thead>
              <tbody>
              <% @diaper_drives.each do |diaper_drive| %>
                <tr>
                  <td><%= diaper_drive.name %></td>
                  <td><%= diaper_drive.start_date.strftime("%m-%d-%Y") %></td>
                  <td><%= diaper_drive.end_date.strftime("%m-%d-%Y") %></td>
                  <td><%= is_virtual(diaper_drive: diaper_drive) %></td>
                  <td class="text-right"><%= diaper_drive.donation_quantity %></td>
                  <td class="text-right"><%= diaper_drive.distinct_items %></td>
                  <td class="text-right"><strong><%= dollar_value(diaper_drive.in_kind_value) %></strong></td>
{'fraction_non_alphanumeric': 0.18397932816537468, 'fraction_numerical': 0.006459948320413436, 'mean_word_length': 1.6143194866599122, 'pattern_counts': {'":': 0, '<': 261, '<?xml version=': 0, '>': 261, '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': '5548600', 'n_tokens_mistral': 2495, 'n_tokens_neox': 2317, 'n_words': 466}