Sha256: 67275c7994cd9335c35b2761c625b3b5e1abcfffea630db8a83b6662f08df881

Contents?: true

Size: 661 Bytes

Versions: 1

Compression:

Stored size: 661 Bytes

Contents

<%= f.error_messages %>

<p>
  <%= f.label :name %><br />
  <%= f.text_field :name %>
</p>

<div id='child_model_children'>
  <% f.fields_for :child_models do |child_model_form| %>
    <%= render :partial => 'child_model', :locals => { :f => child_model_form } %>
  <% end %>
</div>

<p>
  <%= add_child_link 'Add ChildModel', 'child_model', f %>
</p>

<div id='second_child_model_children'>
  <% f.fields_for :second_child_models do |second_child_model_form| %>
    <%= render :partial => 'second_child_model', :locals => { :f => second_child_model_form } %>
  <% end %>
</div>

<p>
  <%= add_child_link 'Add SecondChildModel', 'second_child_model', f %>
</p>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
view_mapper-0.3.4 test/views/has_many/expected_templates/_form.html.erb