diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index eedb29329..15a26fbae 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -747,7 +747,7 @@ class ProjectsController < ApplicationController def update @project.safe_attributes = params[:project] - @project.dts_test = params[:project][:dts_test] + #@project.dts_test = params[:project][:dts_test] if validate_parent_id && @project.save @course = Course.find_by_extra(@project.identifier) unless @course.nil? diff --git a/app/views/projects/_form.html.erb b/app/views/projects/_form.html.erb index f5781b26a..47a87f441 100644 --- a/app/views/projects/_form.html.erb +++ b/app/views/projects/_form.html.erb @@ -15,9 +15,11 @@

<%= f.check_box :is_public, :style => "margin-left:10px;" %>

<%= f.check_box :hidden_repo, :style => "margin-left:10px;" %>

+

<%= f.text_field :project_type, :value => 0 %>

<%= wikitoolbar_for 'project_description' %> diff --git a/app/views/projects/_tools_expand.html.erb b/app/views/projects/_tools_expand.html.erb index 5ee70fa9d..df6cd481b 100644 --- a/app/views/projects/_tools_expand.html.erb +++ b/app/views/projects/_tools_expand.html.erb @@ -16,7 +16,7 @@
  • <%= link_to l(:project_module_gantt) ,project_gantt_path(@project) %>