22 lines
710 B
Plaintext
22 lines
710 B
Plaintext
<div class="polls_head">
|
||
<h2>所有问卷
|
||
<span>(<%= @obj_count%>)</span>
|
||
</h2>
|
||
<% if @is_teacher%>
|
||
<%= 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>
|
||
<div class="polls_list">
|
||
<% @polls.each do |poll|%>
|
||
<ul id="polls_<%= poll.id %>" class="polls_list_ul">
|
||
<%= render :partial => 'poll', :locals => {:poll => poll} %>
|
||
</ul>
|
||
<div class="cl"></div>
|
||
<% end%>
|
||
|
||
<ul class="wlist">
|
||
<%= pagination_links_full @obj_pages, @obj_count, :per_page_links => false, :remote => false, :flag => true%>
|
||
</ul>
|
||
<div class="cl"></div>
|
||
</div><!--列表end--> |