<%= f.error_messages %> <% 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" %>