<commit_before>.organized-page-header
  %h1
    %em
      = current_organization.name
    Incomplete Registrations

%p
  %strong
    = @b_params.total_count
    - if params[:query].present?
      matching
    incomplete
    = "registration".pluralize(@b_params.total_count)
.mt-4.mb-2
  = form_tag incompletes_organization_bikes_path(organization_id: current_organization.to_param), method: :get do
    .row
      .col-sm-8.col-md-10
        .form-group
          = text_field_tag :query, params[:query], placeholder: "Search emails", class: "form-control"
      .col-sm-4.col-md-2
        .actions
          = submit_tag "Search", class: "btn btn-primary"

%table.table.table-striped.table-hover.table-bordered.table-sm.without-exterior-border
  %thead.small-header
    %th
      Sent&nbsp;<small class="convertTimezone"></small>
    %th
      Bike
    %th
      email
  %tbody
    - @b_params.each do |b_param|
      %tr
        %td
          %span.convertTime
            = l b_param.created_at, format: :convert_time
        %td
          %strong
            = b_param.primary_frame_color
          = b_param.mnfg_name
        %td
          = b_param.owner_email

.paginate-container.paginate-container-bottom
  = paginate @b_params<commit_msg>show organization name for relevant incomplete registrations<commit_after>.organized-page-header
  %h1
    %em
      = current_organization.name
    Incomplete Registrations

%p
  %strong
    = @b_params.total_count
    - if params[:query].present?
      matching
    incomplete
    = "registration".pluralize(@b_params.total_count)
.mt-4.mb-2
  = form_tag incompletes_organization_bikes_path(organization_id: current_organization.to_param), method: :get do
    .row
      .col-sm-8.col-md-10
        .form-group
          = text_field_tag :query, params[:query], placeholder: "Search emails", class: "form-control"
      .col-sm-4.col-md-2
        .actions
          = submit_tag "Search", class: "btn btn-primary"

- include_child_org = current_organization.child_ids.any?
%table.table.table-striped.table-hover.table-bordered.table-sm.without-exterior-border
  %thead.small-header
    %th
      Sent&nbsp;<small class="convertTimezone"></small>
    %th
      Bike
    %th
      email
  %tbody
    - @b_params.each do |b_param|
      %tr
        %td
          %span.convertTime
            = l b_param.created_at, format: :convert_time
        %td
          %strong
            = b_param.primary_frame_color
          = b_param.mnfg_name
          - if include_child_org && b_param.organization != current_organization
            %br
            %small.less-strong
              = b_param.organization.short_name
        %td
          = b_param.owner_email

.paginate-container.paginate-container-bottom
  = paginate @b_params
{'fraction_non_alphanumeric': 0.10731004681310767, 'fraction_numerical': 0.005761613251710479, 'mean_word_length': 2.391941391941392, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '2882436', 'n_tokens_mistral': 924, 'n_tokens_neox': 896, 'n_words': 150}