<commit_before><!-- Create a new project (3 dropdowns = 6 options) -->
<%= semantic_form_for @project, :url => {:controller => :projects, :action => :create }, :html=>{:method=>:post} do |f| %>
	<%= f.inputs do %>
        <%= hidden_field_tag :default_tag, "false" ,:id => "default_tag" %>
		<div class="createa-project">
			<h1> <%= t('helpers.project.create_page.title')%> </h1>
			<div class="info-new-project">
				<p><%= raw t('helpers.project.create_page.desc_html')%></p>

			</div>
			<div class="dropdowns">
 
<!--
				<div class="control-group" id="funder-control-group">
					<div class="controls">
						<%= f.input :funder_id, :as => :select, :collection => @funders, :label => t('helpers.project.create_page.funders_question'), :input_html => { :multiple => false, :class => "typeahead" }, :include_blank =>  t('helpers.org_type.funder') %>
						<div class="div_clear"></div>
						<div id="other-funder-link" class="move_2_right">
							<a href='#' id="no-funder"><%= t('helpers.project.not_applicable')%></a>
						</div>
						<div class="create_project_question_descriptions">
							<%= t('helpers.project.create_page.funders_question_description')%>
						</div>
					</div>
					<div class="div_clear"></div>
					<div id="other-funder-name" class="controls" style="display:none;">
						<%= f.input :funder_name, :as => :string, :placeholder => t('helpers.project.funder_name'), :label => t('helpers.project.create_page.other_funder_name_label') %>
					</div>
				</div>
-->
				<div class="control-group" id="institution-control-group">
					<div class="controls">
						<%= f.input :institution_id, :as => :select, :collection => @institutions, :label => t('helpers.project.create_page.institution_question'), :input_html => { :multiple => false, :class => "typeahead" }, :include_blank =>  t('helpers.org_type.organisation')  %>
						<div class="div_clear"></div>
						<div class="move_2_right">
							<a href='#' id="no-institution"><%= t('helpers.project.not_applicable')%></a>
						</div>
						<div class="create_project_question_descriptions">
							<%= t('helpers.project.create_page.institution_question_description')%>
						</div>
					</div>
				</div>
				<div class="control-group" id="template-control-group">
					<div class="controls">
						<%= f.input :dmptemplate, :as => :select, :collection => Dmptemplate.find_all_by_published(1), :label => "Choose a template", :input_html => { :multiple => false, :class => "typeahead" } %>
						<div class="create_project_question_descriptions">
							<%= t('helpers.project.multi_templates') %>
						</div>
					</div>
				</div>
				<div class="control-group" id="guidance-control-group">
					<div class="controls">
						<% other_guidance = GuidanceGroup.all %>
						<%= f.input :guidance_groups, :as => :check_boxes, :collection => other_guidance, :label => t('helpers.project.create_page.other_guidance_question'), :member_label => :display_name %>
					</div>
				</div>
			</div>
		</div>
	<% end %>
	<!-- submit buttons -->
	<%= f.actions do %>
		<a id="create-plan-button" style="display:none;" data-toggle="modal" href="#project-confirmation-dialog" class="btn btn-primary"><%= t('helpers.project.create')%></a>
	<% end %>
<% end %><commit_msg>always has the create plan button on the dropdown page<commit_after><!-- Create a new project (3 dropdowns = 6 options) -->
<%= semantic_form_for @project, :url => {:controller => :projects, :action => :create }, :html=>{:method=>:post} do |f| %>
	<%= f.inputs do %>
        <%= hidden_field_tag :default_tag, "false" ,:id => "default_tag" %>
		<div class="createa-project">
			<h1> <%= t('helpers.project.create_page.title')%> </h1>
			<div class="info-new-project">
				<p><%= raw t('helpers.project.create_page.desc_html')%></p>

			</div>
			<div class="dropdowns">
 
<!--
				<div class="control-group" id="funder-control-group">
					<div class="controls">
						<%= f.input :funder_id, :as => :select, :collection => @funders, :label => t('helpers.project.create_page.funders_question'), :input_html => { :multiple => false, :class => "typeahead" }, :include_blank =>  t('helpers.org_type.funder') %>
						<div class="div_clear"></div>
						<div id="other-funder-link" class="move_2_right">
							<a href='#' id="no-funder"><%= t('helpers.project.not_applicable')%></a>
						</div>
						<div class="create_project_question_descriptions">
							<%= t('helpers.project.create_page.funders_question_description')%>
						</div>
					</div>
					<div class="div_clear"></div>
					<div id="other-funder-name" class="controls" style="display:none;">
						<%= f.input :funder_name, :as => :string, :placeholder => t('helpers.project.funder_name'), :label => t('helpers.project.create_page.other_funder_name_label') %>
					</div>
				</div>
-->
				<div class="control-group" id="institution-control-group">
					<div class="controls">
						<%= f.input :institution_id, :as => :select, :collection => @institutions, :label => t('helpers.project.create_page.institution_question'), :input_html => { :multiple => false, :class => "typeahead" }, :include_blank =>  t('helpers.org_type.organisation')  %>
						<div class="div_clear"></div>
						<div class="move_2_right">
							<a href='#' id="no-institution"><%= t('helpers.project.not_applicable')%></a>
						</div>
						<div class="create_project_question_descriptions">
							<%= t('helpers.project.create_page.institution_question_description')%>
						</div>
					</div>
				</div>
				<div class="control-group" id="template-control-group">
					<div class="controls">
						<%= f.input :dmptemplate, :as => :select, :collection => Dmptemplate.find_all_by_published(1), :label => "Choose a template", :input_html => { :multiple => false, :class => "typeahead" } %>
						<div class="create_project_question_descriptions">
							<%= t('helpers.project.multi_templates') %>
						</div>
					</div>
				</div>
				<div class="control-group" id="guidance-control-group">
					<div class="controls">
						<% other_guidance = GuidanceGroup.all %>
						<%= f.input :guidance_groups, :as => :check_boxes, :collection => other_guidance, :label => t('helpers.project.create_page.other_guidance_question'), :member_label => :display_name %>
					</div>
				</div>
			</div>
		</div>
	<% end %>
	<!-- submit buttons -->
	<%= f.actions do %>
<!--
		<a id="create-plan-button" style="display:none;" data-toggle="modal" href="#project-confirmation-dialog" class="btn btn-primary"><%= t('helpers.project.create')%></a>
-->
                <a id="create-plan-button" data-toggle="modal" href="#project-confirmation-dialog" class="btn btn-primary"><%= t('helpers.project.create')%></a>
	<% end %>
<% end %>
{'fraction_non_alphanumeric': 0.2074824862125503, 'fraction_numerical': 0.002086749142942316, 'mean_word_length': 4.0, 'pattern_counts': {'":': 0, '<': 155, '<?xml version=': 0, '>': 221, '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': '5537939', 'n_tokens_mistral': 2725, 'n_tokens_neox': 2241, 'n_words': 390}