2015-04-22 18:55:51 +03:00
|
|
|
.container
|
|
|
|
|
.row
|
|
|
|
|
.col-md-12
|
|
|
|
|
.page-header
|
|
|
|
|
%h1= @question.title
|
|
|
|
|
- @question.answers.each do |answer|
|
|
|
|
|
= answer.title
|
|
|
|
|
(#{answer.qanswers.find_by(question: @question).registrations.where(conference: @conference).count})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.row
|
|
|
|
|
.col-md-12
|
|
|
|
|
|
2018-06-15 18:20:18 -07:00
|
|
|
%table.datatable#question_users
|
2015-04-22 18:55:51 +03:00
|
|
|
%thead
|
2023-03-04 13:12:47 -08:00
|
|
|
%tr
|
|
|
|
|
%th Name
|
|
|
|
|
%th Username
|
|
|
|
|
%th Email
|
|
|
|
|
%th Answer
|
2015-04-22 18:55:51 +03:00
|
|
|
%tbody
|
|
|
|
|
- @registrations.each do |registration|
|
|
|
|
|
%tr
|
|
|
|
|
%td= registration.name
|
|
|
|
|
%td= registration.username
|
|
|
|
|
%td= registration.email
|
|
|
|
|
%td= registration.qanswers.find_by(question: @question).answer.title
|