% answer_string = answer.respond_to?(:answer) ? answer.answer : answer %>
<%= text_area_tag 'answer[answer]', answer_string, {rows: 10, data: { last: answer_string } } %>
Max 1000 characters.
(provide warning when reaching the limit)
<%= render partial: "quiz/answer_errors", locals: {question: question, answer: answer} %>