禁用匿评的作业提交时不要显示“提示:作品名称和描述中不要出现真实的姓名信息”的提示

This commit is contained in:
cxt 2016-08-10 14:22:05 +08:00
parent 0cc9fafddb
commit a50ac2d79d
2 changed files with 10 additions and 6 deletions

View File

@ -31,9 +31,11 @@
<div class="HomeWorkCon mt15" nhname='student_work_form'>
<%= labelled_form_for @work,:html => { :multipart => true },:remote=>true do |f|%>
<div class=" c_red mb10">
提示:作品名称和描述中不要出现真实的姓名信息
</div>
<% if @homework.anonymous_comment == 0 %>
<div class=" c_red mb10">
提示:作品名称和描述中不要出现真实的姓名信息
</div>
<% end %>
<div class="cl"></div>
<% if @homework.homework_type == 3 %>
<span id="min_num_member" style="display: none"><%=@homework.homework_detail_group.min_num %></span>

View File

@ -235,9 +235,11 @@
:action => 'create',
:homework => @homework.id
},:remote=>true ) do |f| %>
<div class=" c_red mb10">
提示:作品名称和描述中不要出现真实的姓名信息
</div>
<% if @homework.anonymous_comment == 0 %>
<div class=" c_red mb10">
提示:作品名称和描述中不要出现真实的姓名信息
</div>
<% end %>
<div class="cl"></div>
<% if @homework.homework_type == 3 %>
<span id="min_num_member" style="display: none"><%=@homework.homework_detail_group.min_num %></span>