2016-06-28 18:16:06 +03:00
|
|
|
- surveys.each do |survey|
|
|
|
|
|
- if survey.survey_submissions.find_by(user: current_user)
|
2022-05-18 06:31:12 +02:00
|
|
|
%i.fa-solid.fa-square-check.text-success{ title: 'Thank you for filling out the survey' }
|
2016-06-28 18:16:06 +03:00
|
|
|
- else
|
2022-05-18 06:31:12 +02:00
|
|
|
%i.fa-solid.fa-square-minus.text-danger{ title: 'Please fill out the survey' }
|
2016-06-28 18:16:06 +03:00
|
|
|
= link_to survey.title, conference_survey_path(conference.short_title, survey)
|
|
|
|
|
%br
|