diff --git a/app/views/homework_attach/new.html.erb b/app/views/homework_attach/new.html.erb index 9f0b69f58..6f5c56c5a 100644 --- a/app/views/homework_attach/new.html.erb +++ b/app/views/homework_attach/new.html.erb @@ -28,7 +28,7 @@
提交项目 : - <%= f.select :project_id, options_for_select(user_projects_option),:name => "project_id", :required => true, :style => "width:490px;"%> + <%= f.select :project_id,options_for_select(user_projects_option), {},{:style => "width:490px;"} %> <%= link_to '创建项目', new_project_path(course: 0, project_type: 0), :target => '_blank' %>
提交项目可以为空
diff --git a/app/views/welcome/index.html.erb b/app/views/welcome/index.html.erb index d50122d5d..dbd841159 100644 --- a/app/views/welcome/index.html.erb +++ b/app/views/welcome/index.html.erb @@ -143,7 +143,7 @@