diff --git a/app/views/projects/_dropdowns_new_project.html.erb b/app/views/projects/_dropdowns_new_project.html.erb deleted file mode 100644 index f9a91ce..0000000 --- a/app/views/projects/_dropdowns_new_project.html.erb +++ /dev/null @@ -1,110 +0,0 @@ - -<%= 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" %> -
-

<%= _('Create a new plan')%>

-
-

<%= raw _("

Please select from the following drop-downs so we can determine what questions and guidance should be displayed in your plan.

If you aren't responding to specific requirements from a funder or an institution, select here to write a generic DMP based on the most common themes.

")%>

- -
- -
- - <% # - # The following JSON arrays are used to build/filter the contents of - # the select2 dropdown box for dmptemplates and the checkboxes for - # the guidance group selections - # (they are referenced in /app/assets/javascripts/projects.js) - # %> - - <%= hash_to_js_json_variable('funders', - @funders.collect{ |inst| - {'id': inst.id, - 'text': inst.name} - }) %> - - <%= hash_to_js_json_variable('institutions', - @institutions.collect{ |inst| - {'id': inst.id, - 'text': inst.name, - 'default': (current_user.org.id == inst.id)} - }) %> - - <%= hash_to_js_json_variable('templates', - @templates.collect{ |tmplt| - {'organisation': tmplt.organisation_id, - 'id': tmplt.id, - 'text': tmplt.title} - }) %> - - <%= hash_to_js_json_variable('guidance_for_template_or_organisation', - @guidance_groups.collect{ |grp| - {'organisation': grp.organisation_id, - 'templates': grp.dmptemplates.collect{ |t| t.id }, - 'id': grp.id, - 'text': grp.name} - }) %> - - <%= hash_to_js_json_variable('guidance_always_available', - @always_guidance.collect{ |grp| - {'id': grp.id, - 'text': grp.name} - }) %> - - <% end %> - - <%= f.actions do %> - - <% end %> -<% end %>