2015-01-13 15:59:02 +08:00
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
<head>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
2015-01-16 15:49:22 +08:00
|
|
|
<title><%= l(:label_poll_result) %></title>
|
2015-01-13 15:59:02 +08:00
|
|
|
<%= stylesheet_link_tag 'polls', :media => 'all' %>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2015-01-13 16:58:44 +08:00
|
|
|
<div class="polls_content polls_box" id="polls">
|
2015-01-13 15:59:02 +08:00
|
|
|
<div class="ur_page_head" >
|
2015-01-16 15:49:22 +08:00
|
|
|
<h1 class="ur_page_title"><%= @poll.polls_name %> <%= l(:label_poll) %></h1>
|
2015-01-13 15:59:02 +08:00
|
|
|
</div>
|
|
|
|
|
2015-01-14 16:36:30 +08:00
|
|
|
<% @poll_questions.each do |poll_question| %>
|
2015-01-13 15:59:02 +08:00
|
|
|
<div class="">
|
|
|
|
<ol>
|
|
|
|
<li class="ur_question_item">
|
|
|
|
<div class="ur_title_result">
|
2015-01-16 15:49:22 +08:00
|
|
|
<span class="title_index">第<%= poll_question.question_number %>题:</span><%= poll_question.question_title %>
|
|
|
|
<span class="title_index">[<%= options_show(poll_question.question_type) %>]</span>
|
2015-01-13 15:59:02 +08:00
|
|
|
</div>
|
2015-01-14 16:36:30 +08:00
|
|
|
<%= render :partial =>'choice_show', :locals =>{ :poll_question => poll_question } %>
|
|
|
|
</li>
|
2015-01-13 15:59:02 +08:00
|
|
|
</ol>
|
2015-01-14 16:36:30 +08:00
|
|
|
<% end %>
|
2015-01-16 11:18:39 +08:00
|
|
|
<ul class="wlist">
|
|
|
|
<%= pagination_links_full @obj_pages, @obj_count, :per_page_links => false, :remote => false, :flag => true%>
|
|
|
|
</ul>
|
|
|
|
<div class="cl"></div>
|
2015-01-13 15:59:02 +08:00
|
|
|
<div class="ur_buttons">
|
|
|
|
</div>
|
|
|
|
<div class="cl"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div><!--问卷内容end-->
|
|
|
|
</body>
|
|
|
|
</html>
|