<commit_before><%= form_for(@project, :url => (@project.new_record? ? admin_projects_path : admin_project_path(@project))) do |f| %>
<!-- ##################### PROJECT IDENTIFICATION ##################### -->

  <% if @project.errors.full_messages.any? %>
  <div class="form_error">
    <% @project.errors.full_messages.each do |error_message| %>
      <p><%= error_message %></p> <br />
    <% end %>
  </div>
  <% end -%>

  <h3 class="section museo_sans">PROJECT IDENTIFICATION</h3>
  <div class="field">
    <label>ORGANIZATION  <strong>*</strong></label>

    <div class="organization_combo list_combo">
      <span id="hidden" class="combo_large combo_huge <%= 'error' if @project.errors[:primary_organization_id].present? %>">
        <%= errors_for @project, :primary_organization_id %>
        <a class="organization"><%= @project.primary_organization.try(:name) %></a>
      </span>
      <%= f.hidden_field :primary_organization_id , :value => @project.primary_organization_id %>
      <div class="wrapper">
        <ul class="organization_combo_content list_combo_content huge_list_combo_content scroll_pane">
            <% @organizations_list.each do |organization| %>
              <li class="element" id="orgs_<%= organization.id %>"><p class="project_name"><%= truncate(organization.name, :length=> 60) %></p></li>
            <% end -%>
        </ul>
      </div>
    </div>
  </div>
  <%= select_tag :primary_organization_id, options_from_collection_for_select(Organization.has_projects.order(:name), :id, :name, @project.primary_organization_id), {:class=>'chosen-select',:prompt=>'Select an Organization',:include_blank => true} %>


  <div class="field <%= 'hidden' unless current_user.admin? && @project.persisted? %>">
    <label>InterAction Intervention ID</label><commit_msg>fix extra select in project form from last commit<commit_after><%= form_for(@project, :url => (@project.new_record? ? admin_projects_path : admin_project_path(@project))) do |f| %>
<!-- ##################### PROJECT IDENTIFICATION ##################### -->

  <% if @project.errors.full_messages.any? %>
  <div class="form_error">
    <% @project.errors.full_messages.each do |error_message| %>
      <p><%= error_message %></p> <br />
    <% end %>
  </div>
  <% end -%>

  <h3 class="section museo_sans">PROJECT IDENTIFICATION</h3>
  <div class="field">
    <label>ORGANIZATION  <strong>*</strong></label>

    <div class="organization_combo list_combo">
      <span id="hidden" class="combo_large combo_huge <%= 'error' if @project.errors[:primary_organization_id].present? %>">
        <%= errors_for @project, :primary_organization_id %>
        <a class="organization"><%= @project.primary_organization.try(:name) %></a>
      </span>
      <%= f.hidden_field :primary_organization_id , :value => @project.primary_organization_id %>
      <div class="wrapper">
        <ul class="organization_combo_content list_combo_content huge_list_combo_content scroll_pane">
            <% @organizations_list.each do |organization| %>
              <li class="element" id="orgs_<%= organization.id %>"><p class="project_name"><%= truncate(organization.name, :length=> 60) %></p></li>
            <% end -%>
        </ul>
      </div>
    </div>
  </div>


  <div class="field <%= 'hidden' unless current_user.admin? && @project.persisted? %>">
    <label>InterAction Intervention ID</label>
{'fraction_non_alphanumeric': 0.19781517567168586, 'fraction_numerical': 0.0023619722468261, 'mean_word_length': 4.228395061728395, 'pattern_counts': {'":': 0, '<': 96, '<?xml version=': 0, '>': 105, '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': '4110073', 'n_tokens_mistral': 1151, 'n_tokens_neox': 1050, 'n_words': 193}