|
|
|
@ -12,14 +12,14 @@
|
|
|
|
|
<td class="td42"><%= poll_answer.poll_votes.count %> </td>
|
|
|
|
|
<td class="td287">
|
|
|
|
|
<div class="Bar">
|
|
|
|
|
<span style="width:<%= statistics_result_percentage(poll_answer.poll_votes.count, @poll.users.count) %>%;" id="choice_percentage_<%= poll_answer.id %>"></span>
|
|
|
|
|
<span style="width:<%= statistics_result_percentage(poll_answer.poll_votes.count, total_answer(poll_question.id)) %>%;" id="choice_percentage_<%= poll_answer.id %>"></span>
|
|
|
|
|
</div>
|
|
|
|
|
<%= statistics_result_percentage(poll_answer.poll_votes.count, @poll.users.count) %>%</td>
|
|
|
|
|
<%= statistics_result_percentage(poll_answer.poll_votes.count, total_answer(poll_question.id)) %>%</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<% end %>
|
|
|
|
|
<tr class="table_bluebg">
|
|
|
|
|
<td class="td327"><%= l(:label_poll_valid_commit) %> </td>
|
|
|
|
|
<td class="td42"><%= poll_question.poll_votes.count %></td>
|
|
|
|
|
<td class="td42"><%= total_answer(poll_question.id) %></td>
|
|
|
|
|
<td class="td287"> </td>
|
|
|
|
|
</tr>
|
|
|
|
|
</tbody>
|
|
|
|
|