<td>
<%= temp_profile.title %>
<% temp_profile.attribute_fields.each  do |af|%>
  <%= af.block_helper(@user,@form_index)%>
  <% @form_index = @form_index +1 %>
<% end %>
</td>