<%= stylesheet_link_tag 'polls', :media => 'all' %>

<%= @poll.polls_name.empty? ? l(:label_poll_new) : @poll.polls_name %>

<%= @poll.polls_description%>

    <% @poll_questions.each do |poll_question|%> <% if poll_question.question_type == 1%> <%= render :partial => 'show_MC_result', :locals => {:poll_question => poll_question} %> <% elsif poll_question.question_type == 2%> <%= render :partial => 'show_MCQ_result', :locals => {:poll_question => poll_question} %> <% elsif poll_question.question_type == 3%> <%= render :partial => 'show_single_result', :locals => {:poll_question => poll_question} %> <% elsif poll_question.question_type == 4%> <%= render :partial => 'show_mulit_result', :locals => {:poll_question => poll_question} %> <% end%> <% end%>