osem-fcy/app/views/surveys/_list.html.haml
2023-03-14 17:04:04 -07:00

7 lines
337 B
Text

- surveys.each do |survey|
- if survey.replied?(current_user)
%i.fa-solid.fa-square-check.text-success{ title: 'Thank you for filling out the survey' }
- else
%i.fa-solid.fa-square-minus.text-danger{ title: 'Please fill out the survey' }
= link_to survey.title, conference_survey_path(conference.short_title, survey)
%br