编程作业的作品详情在顶部增加“收起”

This commit is contained in:
cxt 2016-06-24 11:02:29 +08:00
parent bd3277681c
commit a41d18dd0e
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@
<li class="fl" >
<span class="tit_fb">上交时间:</span>
<%=format_time work.created_at %>
<a href="javascript:void(0);" class="linkBlue mt5 mb5" style="margin-left:165px; width: 24px;" onclick="$('#about_hwork_<%= work.id%>').html('');">收起</a>
</li>
<% if work.user == User.current && Time.parse(@homework.end_time.to_s).strftime("%Y-%m-%d") >= Time.now.strftime("%Y-%m-%d") %>