Sha256: e98acbb8bb4c87232eb48660f59e79b058bd16deb0962887ca3edc091b1fd1f6

Contents?: true

Size: 357 Bytes

Versions: 2

Compression:

Stored size: 357 Bytes

Contents

= form_for @user, url: '/somewhere' do |f|
  = render 'user_fields', f: f

  = f.fields_for :addresses, permitted_attributes: [:street, user_attributes: [:last_name]] do |af|
    = render 'address_fields', f: af

    = af.fields_for :user, User.new do |uf|
      = render 'user_fields', f: uf

  = f.fields_for :tag do |tf|
    = render 'tag_fields', f: tf

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
strong_form-0.0.9 spec/dummy/app/views/base/fields_for_explicit.html.haml
strong_form-0.0.8 spec/dummy/app/views/base/fields_for_explicit.html.haml