This commit is contained in:
Stella Rouzi 2016-07-13 03:27:47 +00:00 committed by GitHub
commit 6b6fc61fd8
42 changed files with 772 additions and 37 deletions

View file

@ -36,24 +36,20 @@
= @registration.departure.strftime('%A, %B %-d. %Y %H:%M')
- else
You haven't scheduled your departure
- if @conference.questions.any?
- if @conference.surveys.for_registration.any?
.row
.col-md-12
%h4
%span.fa-stack
%i.fa.fa-square-o.fa-stack-2x
%i.fa.fa-info.fa-stack-1x
Additional Info
Surveys
%ul
- @conference.questions.each do |q|
- @conference.surveys.for_registration.each do |survey|
%li
%strong
= q.title
- if @registration.qanswers.any?
- @registration.qanswers.where(:question_id => q.id).each do |qa|
= qa.answer.title
- else
You haven't answered
= link_to survey.title, conference_survey_path(@conference.short_title, survey)
- if @registration.events.any?
.row
.col-md-12