Surveys: Grooming of messages to user

This commit is contained in:
Stella Rouzi 2020-03-29 16:19:22 +03:00 committed by Henne Vogelsang
parent 0646e41a82
commit 4d5bb42331
No known key found for this signature in database
GPG key ID: 9D6164C2955FADE0
2 changed files with 19 additions and 5 deletions

View file

@ -26,3 +26,8 @@
.row
.col-md-10.col-md-offset-1
= f.submit 'Submit', class: 'btn btn-primary pull-right', disabled: !(can? :reply, @survey)
.pull-left
- if @survey.during_registration?
= link_to 'Back to Registration', conference_conference_registration_path(@conference)
- elsif @survey.after_event?
= link_to 'Back', conference_program_proposal_path(@conference, @survey.surveyable)