%= f.error_messages %>
<%= f.label :name %>
<%= f.text_field_with_auto_complete :name, {}, { :method => :get, :skip_style => true } %>
<% f.fields_for :some_other_models do |some_other_model_form| %>
<%= render :partial => 'some_other_model', :locals => { :f => some_other_model_form } %>
<% end %>
<%= add_child_link 'Add a SomeOtherModel', 'some_other_model', f %>
<% f.fields_for :testies do |testy_form| %>
<%= render :partial => 'testy', :locals => { :f => testy_form } %>
<% end %>
<%= add_child_link 'Add a Testy', 'testy', f %>