diff --git a/app/views/bids/_homework.html.erb b/app/views/bids/_homework.html.erb index 11b478199..d967d6231 100644 --- a/app/views/bids/_homework.html.erb +++ b/app/views/bids/_homework.html.erb @@ -21,6 +21,12 @@ $.globalEval(submit_homework()); return false; } + + function show() + { + $("#what_is_project_div").slideToggle(); + + } <% if User.current.logged? && (!Member.where('user_id = ? and project_id = ?', User.current.id, @bid.courses.first.id).first.nil? && @@ -32,11 +38,34 @@ <% end %> -<% if @homework_list.empty? %> -
- 暂无学生提交作业! -
-<% end %> + + + + + + + + + +
+ <% if @homework_list.empty? %> +
+ 暂无学生提交作业! +
+ <% end %> +
+ +
+ + + +
<%= render :partial => 'homework_list', :locals => {:homework => @homework_list} %>