Add surveys to proposal todo list
This commit is contained in:
parent
f8d6283f44
commit
1260786a62
8 changed files with 25 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
- surveys.each do |survey|
|
||||
- if survey.survey_submissions.find_by(user: current_user)
|
||||
- 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' }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue