<commit_before><h1>Administer Project: <%= link_to h(@project.name), project_path(@project) -%></h1>

<div class="show_basic">
  <% form_for(@project) do |f| -%>

    <%= javascript_include_tag "projects.js" %>
  
    <%= f.hidden_field :avatar_id -%>
  
    <%= f.error_messages %>

    <%= render :partial=>"jerm_details",:locals=>{:f=>f} %>
    <br/>
    <%= render :partial=>"default_policy_form",:locals=>{:f=>f} %>

    <h2 style="margin-top: 2em;">Participating Institutions</h2>

    <div style="width: 95%; text-align: left;">
      <%= help_icon("To select multiple institutions press & hold CTRL<br/>while making your selection from the list below.") -%>
      <%= f.label :institution_ids, "Please select the institutions that participate in this project", :style => "line-height: 2;" -%><br/>
      <%= f.collection_select :institution_ids, Institution.find(:all, :order=>:name), :id, :name, {}, {:style => "width: 85%; height: 200px;", :multiple=>true} -%>
    </div>

    <p style="margin-top: 2em; text-align: center;">
      <%= f.submit("Update") -%>
      or <%= link_to 'Cancel', project_path(@project.id) -%>
    </p><commit_msg>disable_with=>Updating ... on project admin update button<commit_after><h1>Administer Project: <%= link_to h(@project.name), project_path(@project) -%></h1>

<div class="show_basic">
  <% form_for(@project) do |f| -%>

    <%= javascript_include_tag "projects.js" %>
  
    <%= f.hidden_field :avatar_id -%>
  
    <%= f.error_messages %>

    <%= render :partial=>"jerm_details",:locals=>{:f=>f} %>
    <br/>
    <%= render :partial=>"default_policy_form",:locals=>{:f=>f} %>

    <h2 style="margin-top: 2em;">Participating Institutions</h2>

    <div style="width: 95%; text-align: left;">
      <%= help_icon("To select multiple institutions press & hold CTRL<br/>while making your selection from the list below.") -%>
      <%= f.label :institution_ids, "Please select the institutions that participate in this project", :style => "line-height: 2;" -%><br/>
      <%= f.collection_select :institution_ids, Institution.find(:all, :order=>:name), :id, :name, {}, {:style => "width: 85%; height: 200px;", :multiple=>true} -%>
    </div>

    <p style="margin-top: 2em; text-align: center;">
      <%= f.submit("Update", :disable_with=>"Updating...") -%>
      or <%= link_to 'Cancel', project_path(@project.id) -%>
    </p>
{'fraction_non_alphanumeric': 0.21145745577085087, 'fraction_numerical': 0.011794439764111205, 'mean_word_length': 4.0965665236051505, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 73, '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': '6064414', 'n_tokens_mistral': 891, 'n_tokens_neox': 806, 'n_words': 171}