<commit_before><% @page_title = 'Select Headers' %>
<div class="row-fluid">
  <div class="row-fluid">
    <p class="lead">Select Headers:</p>
    <p>Please select the column names containing the trait values:</p>
  </div>
  <div class="row-fluid">
    <%= form_for(@import_job, :url => {:action => 'start_validation', :id => @import_job.csv_dataset.id}, :html => {:class =>'form form-horizontal'}) do |f| %>
      <%= error_messages_for(@import_job) %>

      <div class="control-group">
        <%= f.label(:quantitative_header_start_id, "First Quantitative Header") %>
        <div class="controls">
          <%= f.select(:quantitative_header_start_id, options_from_collection_for_select(@import_job.headers, 'id', 'column_name')) %>
        </div>
       </div>
      <div class="control-group">
        <%= f.label(:quantitative_header_end_id, "Last Quantitative Header") %>
        <div class="controls">
          <%= f.select(:quantitative_header_end_id, options_from_collection_for_select(@import_job.headers, 'id', 'column_name')) %>
        </div>
      </div>
      <div class="control-group">
        <%= f.label(:qualitative_header_start_id, "First Qualitative Header") %>
        <div class="controls">
          <%= f.select(:qualitative_header_start_id, options_from_collection_for_select(@import_job.headers, 'id', 'column_name')) %>
        </div>
      </div>
      <div class="control-group">
        <%= f.label(:qualitative_header_end_id, "Last Qualitative Header") %>
        <div class="controls">
          <%= f.select(:qualitative_header_end_id, options_from_collection_for_select(@import_job.headers, 'id', 'column_name')) %>
        </div>
      </div>
      <div class="control-group">
        <div class="controls">
          <%= button_tag("Check Headers", :type => 'submit', :class => 'btn btn-primary') %>
        </div>
      </div>
    <% end %>
  </div>
  <div class="row-fluid"><%= render(:partial => 'upload/footer_buttons', :locals => {:d => @import_job.csv_dataset}) %></div>
</div>
<commit_msg>Fix horizontal form on select headers, add div well and offset<commit_after><% @page_title = 'Select Headers' %>
<div class="row-fluid">
  <div class="row-fluid">
    <p class="lead">Select Headers:</p>
    <p>Please select the column names containing the trait values:</p>
  </div>
  <div class="row-fluid">
    <%= form_for(@import_job, :url => {:action => 'start_validation', :id => @import_job.csv_dataset.id}, :html => {:class =>'form form-horizontal'}) do |f| %>
      <%= error_messages_for(@import_job) %>
      <div class="span9 offset1 well">

      <div class="control-group">
        <%= f.label(:quantitative_header_start_id, "First Quantitative Header", :class => 'control-label') %>
        <div class="controls">
          <%= f.select(:quantitative_header_start_id, options_from_collection_for_select(@import_job.headers, 'id', 'column_name')) %>
        </div>
       </div>
      <div class="control-group">
        <%= f.label(:quantitative_header_end_id, "Last Quantitative Header", :class => 'control-label') %>
        <div class="controls">
          <%= f.select(:quantitative_header_end_id, options_from_collection_for_select(@import_job.headers, 'id', 'column_name')) %>
        </div>
      </div>
      <div class="control-group">
        <%= f.label(:qualitative_header_start_id, "First Qualitative Header", :class => 'control-label') %>
        <div class="controls">
          <%= f.select(:qualitative_header_start_id, options_from_collection_for_select(@import_job.headers, 'id', 'column_name')) %>
        </div>
      </div>
      <div class="control-group">
        <%= f.label(:qualitative_header_end_id, "Last Qualitative Header", :class => 'control-label') %>
        <div class="controls">
          <%= f.select(:qualitative_header_end_id, options_from_collection_for_select(@import_job.headers, 'id', 'column_name')) %>
        </div>
      </div>
      <div class="control-group">
        <div class="controls">
          <%= button_tag("Check Headers", :type => 'submit', :class => 'btn btn-primary') %>
        </div>
      </div>
      </div>
    <% end %>
  </div>
  <div class="row-fluid"><%= render(:partial => 'upload/footer_buttons', :locals => {:d => @import_job.csv_dataset}) %></div>
</div>

{'fraction_non_alphanumeric': 0.18281578332944198, 'fraction_numerical': 0.00046696240952603317, 'mean_word_length': 3.533333333333333, 'pattern_counts': {'":': 0, '<': 97, '<?xml version=': 0, '>': 121, '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': '3092499', 'n_tokens_mistral': 1419, 'n_tokens_neox': 1344, 'n_words': 255}