--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Creates a scope around a specific resource object like form_for, but doesnt create the form tags themselves. This makes fields_for suitable for specifying additional resource objects in the same form.
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Examples
- !ruby/struct:SM::Flow::VERB 
  body: "  &lt;%= form_for @person do %&gt;\n    &lt;%= text_field :first_name, :label =&gt; &quot;First Name&quot; %&gt;\n    &lt;%= text_field :last_name,  :label =&gt; &quot;Last Name&quot; %&gt;\n    &lt;%= fields_for @permission do %&gt;\n      &lt;%= check_box :is_admin, :label =&gt; &quot;Administrator&quot; %&gt;\n    &lt;% end =%&gt;\n    &lt;%= submit &quot;Create&quot; %&gt;\n  &lt;% end =%&gt;\n"
full_name: Merb::Helpers::Form#fields_for
is_singleton: false
name: fields_for
params: (name, attrs = {}, &blk)
visibility: public
