<%= l(:label_homework)%>

<%= l(:label_totle)%><%= @obj_count%><%= l(:label_homework_count)%>

<%= link_to( l(:label_course_homework_new), new_homework_course_path(@course), :class => 'problem_new_btn fl c_dorange') if @is_teacher %>
<% @bids.each do |bid|%>
<%= link_to(image_tag(url_to_avatar(bid.author), :width => "42", :height => "42"), user_path(bid.author), :class => "problem_pic fl") %>
<%= link_to(bid.author.lastname+bid.author.firstname, user_path(bid.author),:class => 'problem_name fl') %> <%= l(:label_user_create_project_homework) %>: <%= link_to(bid.name, course_for_bid_path(bid), :class => 'problem_tit fl fb c_dblue') %>

<%= l(:lebel_homework_commit)%> ( <%= link_to bid.homeworks.count, course_for_bid_path(bid.id), :class => 'c_red'%> )

<% if @is_teacher%> <%= bid_anonymous_comment(bid)%> <%= link_to(l(:button_edit),edit_bid_path(:course_id =>@course.id, :bid_id => bid.id), :class => "fr mr10 work_edit") %> <% elsif @is_student%> <%= student_anonymous_comment bid %> <%= student_new_homework bid %> <% end %>
<%= textilizable bid, :description %>
<%= l(:label_end_time)%>:<%= bid.deadline%> <% if betweentime(bid.deadline) < 0 %> <%= l(:label_commit_limit)%> <% else %>
<% end %>
<% end%>