diff --git a/app/views/candidate/_live_code.html.erb b/app/views/candidate/_live_code.html.erb index 57a4888..1967e3c 100644 --- a/app/views/candidate/_live_code.html.erb +++ b/app/views/candidate/_live_code.html.erb @@ -3,7 +3,7 @@ checkbox_html = {class: 'checkbox', id: "answer_#{option_id}", - name: "answer[live_code][later]", + name: "answer[#{question.input_type}][later]", checked: Array(question.answer).include?('finish-later') } %>