AutoCommit Don Jul 30 14:03:07 CEST 2015
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
<div style="background:red"><b><%= answeredquestion.title%></b>
|
||||
<% answeredquestion.choices.each do |c| %>
|
||||
<%= c.to_s %><%= answeredquestion.answers.where(choice_id: c.id).count %>n
|
||||
<% end %>
|
||||
<ul>
|
||||
<% answeredquestion.choices.each do |c| %>
|
||||
<li>
|
||||
<%= c.to_s %><%= answeredquestion.answers.where(choice_id: c.id).count %>
|
||||
</li>
|
||||
<% end %>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user