This commit is contained in:
parent
62bcccedea
commit
71b17cd98e
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue