禁用匿评的作业提交时不要显示“提示:作品名称和描述中不要出现真实的姓名信息”的提示
This commit is contained in:
parent
0cc9fafddb
commit
a50ac2d79d
|
@ -31,9 +31,11 @@
|
||||||
|
|
||||||
<div class="HomeWorkCon mt15" nhname='student_work_form'>
|
<div class="HomeWorkCon mt15" nhname='student_work_form'>
|
||||||
<%= labelled_form_for @work,:html => { :multipart => true },:remote=>true do |f|%>
|
<%= labelled_form_for @work,:html => { :multipart => true },:remote=>true do |f|%>
|
||||||
|
<% if @homework.anonymous_comment == 0 %>
|
||||||
<div class=" c_red mb10">
|
<div class=" c_red mb10">
|
||||||
提示:作品名称和描述中不要出现真实的姓名信息
|
提示:作品名称和描述中不要出现真实的姓名信息
|
||||||
</div>
|
</div>
|
||||||
|
<% end %>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
<% if @homework.homework_type == 3 %>
|
<% if @homework.homework_type == 3 %>
|
||||||
<span id="min_num_member" style="display: none"><%=@homework.homework_detail_group.min_num %></span>
|
<span id="min_num_member" style="display: none"><%=@homework.homework_detail_group.min_num %></span>
|
||||||
|
|
|
@ -235,9 +235,11 @@
|
||||||
:action => 'create',
|
:action => 'create',
|
||||||
:homework => @homework.id
|
:homework => @homework.id
|
||||||
},:remote=>true ) do |f| %>
|
},:remote=>true ) do |f| %>
|
||||||
|
<% if @homework.anonymous_comment == 0 %>
|
||||||
<div class=" c_red mb10">
|
<div class=" c_red mb10">
|
||||||
提示:作品名称和描述中不要出现真实的姓名信息
|
提示:作品名称和描述中不要出现真实的姓名信息
|
||||||
</div>
|
</div>
|
||||||
|
<% end %>
|
||||||
<div class="cl"></div>
|
<div class="cl"></div>
|
||||||
<% if @homework.homework_type == 3 %>
|
<% if @homework.homework_type == 3 %>
|
||||||
<span id="min_num_member" style="display: none"><%=@homework.homework_detail_group.min_num %></span>
|
<span id="min_num_member" style="display: none"><%=@homework.homework_detail_group.min_num %></span>
|
||||||
|
|
Loading…
Reference in New Issue