%= render partial: "rapidfire/answers/errors", locals: {answer: answer} %>
<%= f.label :answer_text, answer.question.question_text.html_safe %>
<%= f.fields_for :answer_text do |af| %>
<%- answer.question.options.each_with_index do |option, index| %>
<%= af.label index do %>
<%= af.check_box index, { checked: checkbox_checked?(answer, option) }, option %>
<%= option %>
<% end %>
<% end %>
<% end %>