diff --git a/app/views/bids/_homework_list.html.erb b/app/views/bids/_homework_list.html.erb index 8e0c93a79..9dbc19386 100644 --- a/app/views/bids/_homework_list.html.erb +++ b/app/views/bids/_homework_list.html.erb @@ -22,7 +22,12 @@
<%= link_to homework.user, user_path(homework.user)%> 已提交 | +<%= link_to homework.user, user_path(homework.user)%> 已提交 | ++ <% if Time.parse(@bid.deadline.to_s) > Time.parse(homework.attachments[0].created_on.to_s) %> + 迟交 + <% end %> + | |