This commit is contained in:
sw 2014-07-04 14:47:38 +08:00
parent 62bcccedea
commit 71b17cd98e
1 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,6 @@
<!-- fq -->
<% is_student = is_cur_course_student(@bid.courses.first) %>
<% is_teacher = is_course_teacher User.current,@bid.courses.first %>
<% is_teacher = is_course_teacher(User.current,@bid.courses.first) %>
<!-- 当is_evaluation为1或者null(null主要是为了兼容前面数据)时代表启用互评功能2表示未启用 -->
<% is_evaluation = @bid.is_evaluation == 1 || @bid.is_evaluation == nil %>
<%= form_tag(:controller => 'bids', :action => "show_courseEx", :method => :get) do %>
@ -21,7 +21,6 @@
<% end %>
</div>
</td>
</tr>
</table>
</div>