question builder

This commit is contained in:
Stella 2014-02-09 18:05:57 +02:00
parent 4356616566
commit 3105c8da5d
28 changed files with 338 additions and 15 deletions

View file

@ -0,0 +1,9 @@
- @conference.questions.each do |q|
%b Q:
= q.title
%b A:
- registration.qanswers.where(:question_id => q.id).each do |qa|
= qa.answer.title
%br