<%= @poll.polls_name%>
<%= @poll.polls_description %>
<% @poll_questions.each do |pq| %>
<% if pq.question_type == 1 %>
-
<%= l(:label_question_number,:question_number => pq.question_number) %>
<%= pq.question_title %>
[单选题]
<% if pq.is_necessary == 1 %>
*
<% end %>
<% elsif pq.question_type == 2 %>
-
<%= l(:label_question_number,:question_number => pq.question_number) %>
<%= pq.question_title %>
[多选题]
<% if pq.is_necessary == 1 %>
*
<% end %>
<% elsif pq.question_type == 3 %>
-
<%= l(:label_question_number,:question_number => pq.question_number) %>
<%= pq.question_title %>
[单行主观]
<% if pq.is_necessary == 1 %>
*
<% end %>
>
<% elsif pq.question_type == 4 %>
-
<%= l(:label_question_number,:question_number => pq.question_number) %>
<%= pq.question_title %>
[多行主观]
<% if pq.is_necessary == 1 %>
*
<% end %>
<% else %>
<% end %>
<% end %>
<%= pagination_links_full @obj_pages, @obj_count, :per_page_links => false, :remote => false, :flag => true%>
<% if @poll.polls_status == 2 %>
<%= link_to l(:button_submit),commit_poll_poll_path(@poll), :method => :post,:class => "ur_button",:format => 'js',:remote=>true %>
<% end %>
<%= l(:label_complete_question) %> <%= format "%.2f" ,@percent %>%