forked from bofh/fetsite
AutoCommit Fre Jul 31 10:03:05 CEST 2015
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
<div style="background:red"><b><%= question.title%></b>
|
||||
<%= semantic_form_for question, url: answer_survey_question_path do |f| %>
|
||||
<%= f.input :selected, as: :check_boxes, collection: question.choices, label: false %>
|
||||
<%= f.input :selected, as: :radio, collection: question.choices, label: false %>
|
||||
<%= form_for question, url: answer_survey_question_path do |f| %>
|
||||
<%= f.check_box :selected, {as: :check_boxes, collection: question.choices, label: false}, ["1"] %>
|
||||
|
||||
<%= f.action :submit, :as => :input %>
|
||||
|
||||
<% end %>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user