Fix JS error when saving survey_question

This commit is contained in:
Stella Rouzi 2021-03-07 07:32:52 +02:00
parent 6b57c0be05
commit ee5274b352
2 changed files with 3 additions and 3 deletions

View file

@ -15,7 +15,7 @@
.row
.col-md-12
= f.input :title
= f.input :title, input_html: { autofocus: true }
= f.input :mandatory
.survey-possible-answers{ class: @survey_question.choice? ? '' : 'hidden' }
= f.input :possible_answers, hint: 'Comma separated', input_html: { rows: 3 }