Sha256: d8283bc2915d277c1104be0bdbf26a5566d0f25f50ba014c6cdbbb41e6b0c64b

Contents?: true

Size: 443 Bytes

Versions: 4

Compression:

Stored size: 443 Bytes

Contents

<% form_for @person do |person_form| %>

  <%= person_form.label :name %>
  <%= person_form.text_field :name %>

  <% person_form.fields_for :children do |child_form| %>

    <%= child_form.label :name %>
    <%= child_form.text_field :name %>

    <% unless child_form.object.new_record? %>
      <%= child_form.check_box '_delete' %>
      <%= child_form.label '_delete', 'Remove' %>
    <% end %>

  <% end %>

  <%= submit_tag %>
<% end %>

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
forms-spec-0.1.2 spec/forms-spec/fixtures/erb/railsform-ex1.erb
forms-spec-0.1.1 spec/forms-spec/fixtures/erb/railsform-ex1.erb
forms-spec-0.1.0 spec/forms-spec/fixtures/erb/railsform-ex1.erb
code-spec-0.1.3 spec/code-spec/fixtures/erb/railsform-ex1.erb