%= f.error_messages %>
-
<%= f.label :question_id %>
<%= f.hidden_field :question_id %>
-
<%= f.label :details %>
<%= f.text_area :details %>
-
<%= f.label :active %>
<%= f.check_box :active %>
-
<%= f.label :position %>
<%= f.number_field :position %>
<% if @survey_image %>
<%= f.fields_for :survey_images, @survey_image, :child_index => "new_survey_images" do |survey_images_f|%>
answer-div'>
Image
<%= render :partial => 'survey_image', :locals => { :f => survey_images_f } %>
<% end %>
<% end %>
<%= f.fields_for :scores, :child_index => "new_scores" do |score_f|%>
<%= render :partial => 'score', :locals => { :f => score_f } %>
<% end %>
<%= link_to "New Property", '#add_answer', :class => 'add_association', 'data-association' => "scores" %>
<%= f.fields_for :scores, Score.new, :child_index => "new_scores" do |score_f|%>
<%= render :partial => 'score', :locals => { :f => score_f } %>
<% end %>