AutoCommit Don Jul 30 02:03:02 CEST 2015

This commit is contained in:
Andreas Stephanides
2015-07-30 02:03:02 +02:00
parent f161d15174
commit 1e72b8e6ce
4 changed files with 11 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
<div style="background:red"><b><%= answeredquestion.title%></b>
<% answeredquestion.choices.each do |c| %>
<%= c.to_s %><%= answeredquestion.answers.where(choice_id: c.id).count %>
<%= c.to_s %><%= answeredquestion.answers.where(choice_id: c.id).count %>n
<% end %>