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

23 lines
675 B
Plaintext
Raw Normal View History

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