Sha256: 288baffe93ccd4a778097702450e51cc31f0a5c2f92d6a5170594f6bac3f1035

Contents?: true

Size: 552 Bytes

Versions: 21

Compression:

Stored size: 552 Bytes

Contents

<%= nested_form_for @company do |f| -%>
  <%= f.text_field :name %>
  <%= f.fields_for :project do |pf| -%>
    <%= pf.text_field :name %>
    <%= pf.fields_for :tasks do |tf| -%>
      <%= tf.text_field :name %>
      <%= tf.fields_for :milestones do |mf| %>
        <%= mf.text_field :name %>
        <%= mf.link_to_remove 'Remove milestone' %>
      <% end %>
      <%= tf.link_to_add 'Add new milestone', :milestones %>
      <%= tf.link_to_remove 'Remove' %>
    <% end -%>
    <%= pf.link_to_add 'Add new task', :tasks %>
  <% end -%>
<% end -%>

Version data entries

21 entries across 21 versions & 4 rubygems

Version Path
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/nested_form-0.3.2/spec/dummy/app/views/companies/new.html.erb
freeform-2.0.4 spec/dummy/app/views/companies/new.html.erb
freeform-2.0.3 spec/dummy/app/views/companies/new.html.erb
freeform-2.0.2 spec/dummy/app/views/companies/new.html.erb
freeform-2.0.1 spec/dummy/app/views/companies/new.html.erb
freeform-2.0.0 spec/dummy/app/views/companies/new.html.erb
freeform-1.0.11 spec/dummy/app/views/companies/new.html.erb
freeform-1.0.9 spec/dummy/app/views/companies/new.html.erb
freeform-1.0.8 spec/dummy/app/views/companies/new.html.erb
freeform-1.0.6 spec/dummy/app/views/companies/new.html.erb
freeform-1.0.5 spec/dummy/app/views/companies/new.html.erb
freeform-1.0.4 spec/dummy/app/views/companies/new.html.erb
freeform-1.0.3 spec/dummy/app/views/companies/new.html.erb
freeform-1.0.2 spec/dummy/app/views/companies/new.html.erb
freeform-1.0.1 spec/dummy/app/views/companies/new.html.erb
freeform-1.0.0 spec/dummy/app/views/companies/new.html.erb
picturefill-0.1.3 spec/dummy/app/views/companies/new.html.erb
picturefill-0.1.2 spec/dummy/app/views/companies/new.html.erb
picturefill-0.1.1 spec/dummy/app/views/companies/new.html.erb
picturefill-0.1.0 spec/dummy/app/views/companies/new.html.erb