修复错误
This commit is contained in:
parent
4d1730f92e
commit
a08f944d85
|
@ -107,9 +107,9 @@
|
||||||
<span id="<%=@bid.id %>_anonymous_comment">
|
<span id="<%=@bid.id %>_anonymous_comment">
|
||||||
<% case @bid.comment_status %>
|
<% case @bid.comment_status %>
|
||||||
<% when 0 %>
|
<% when 0 %>
|
||||||
<%= link_to '启动匿评', start_anonymous_comment_bid_path(bid), id: "#{bid.id}_start_anonymous_comment", remote: true, :confirm => "开启匿评后学生将不能对作业进行提交、修改、删除等操作\n是否确定开启匿评?" %>
|
<%= link_to '启动匿评', start_anonymous_comment_bid_path(@bid), id: "#{@bid.id}_start_anonymous_comment", remote: true, :confirm => "开启匿评后学生将不能对作业进行提交、修改、删除等操作\n是否确定开启匿评?" %>
|
||||||
<% when 1 %>
|
<% when 1 %>
|
||||||
<%= link_to '关闭匿评', stop_anonymous_comment_bid_path(bid), id: "#{bid.id}_stop_anonymous_comment", remote: true, :confirm => "关闭匿评后学生将不能对作业进行评分\n是否确定关闭匿评?" %>
|
<%= link_to '关闭匿评', stop_anonymous_comment_bid_path(@bid), id: "#{@bid.id}_stop_anonymous_comment", remote: true, :confirm => "关闭匿评后学生将不能对作业进行评分\n是否确定关闭匿评?" %>
|
||||||
<% when 2 %>
|
<% when 2 %>
|
||||||
匿评结束
|
匿评结束
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in New Issue