Sha256: daee5614ebd31c36c2f1694d93d870ef186940463ebd2e61d740ff9f233c1fec
Contents?: true
Size: 460 Bytes
Versions: 2
Compression:
Stored size: 460 Bytes
Contents
<%= render partial: "rapidfire/answers/errors", locals: {answer: answer} %> <div class="form-group"> <%= 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 %> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rapidfire-8.0.0 | app/views/rapidfire/answers/_checkbox.html.erb |
rapidfire-5.0.0 | app/views/rapidfire/answers/_checkbox.html.erb |