2015-01-29 17:33:10 +08:00
|
|
|
|
<div class="polls_head">
|
|
|
|
|
<h2>所有问卷
|
|
|
|
|
<span>(<%= @obj_count%>)</span>
|
|
|
|
|
</h2>
|
|
|
|
|
<% if @is_teacher%>
|
2015-08-10 09:12:26 +08:00
|
|
|
|
<%= link_to "导入", other_poll_poll_index_path(:polls_group_id => @course.id), :remote=>true,:class => "newbtn"%>
|
2015-01-29 17:33:10 +08:00
|
|
|
|
<%= link_to l(:label_new_poll), new_poll_path(:polls_type => "Course",:polls_group_id => @course.id), :class => "newbtn" %>
|
|
|
|
|
<% end%>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="cl"></div>
|
2015-08-10 09:12:26 +08:00
|
|
|
|
<div id="polls_list" class="polls_list">
|
|
|
|
|
|
|
|
|
|
<%= render :partial => 'polls_list', :locals => {:polls => @polls,:obj_pages=>@obj_pages,:obj_count=>@obj_count} %>
|
2015-01-29 17:33:10 +08:00
|
|
|
|
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
</div><!--列表end-->
|