<% answer_string = answer.respond_to?(:answer) ? answer.answer : answer %> <%= text_area_tag 'answer[answer]', answer_string, {rows: 10, data: { last: answer_string } } %>
Characters remaining:
<%= render partial: "quiz/answer_errors", locals: {question: question, answer: answer} %>