socialforge/app/views/poll/_quiz_answers.html.erb

19 lines
603 B
Plaintext
Raw Normal View History

2015-01-17 11:46:34 +08:00
<div class="ur_table_result">
<table border="0" cellspacing="0" cellpadding="0" >
<tbody>
<tr class="table_bluebg">
<td class="td327" ><%= l(:label_answer) %> </td>
</tr>
<% poll_question.poll_votes.each do |poll_vote| %>
<tr>
2015-01-17 12:34:57 +08:00
<td class="td111"><%= poll_vote.vote_text.html_safe %> </td>
2015-01-17 11:46:34 +08:00
</tr>
<% end %>
<tr class="table_bluebg">
<td class="td327"><%= l(:label_poll_answer_valid_result) %> <%= l(:label_answer_total) %><%= poll_question.poll_votes.count %></td>
</tr>
</tbody>
</table>
</div>