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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Generates a resource specific form tag which accepts a block, this also provides automatic resource routing.
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Parameters
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "name<Symbol>:"
    body: Model or Resource
  - !ruby/struct:SM::Flow::LI 
    label: "attrs<Hash>:"
    body: HTML attributes
  type: :NOTE
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Returns
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !ruby/struct:SM::Flow::LI 
    label: "String:"
    body: HTML
  type: :NOTE
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Notes
- !ruby/struct:SM::Flow::VERB 
  body: " * Block helpers use the &lt;%= =%&gt; syntax\n"
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Example
- !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;%= submit &quot;Create&quot; %&gt;\n  &lt;% end =%&gt;\n"
- !ruby/struct:SM::Flow::P 
  body: "The HTML generated for this would be:"
- !ruby/struct:SM::Flow::VERB 
  body: "  &lt;form action=&quot;/people&quot; method=&quot;post&quot;&gt;\n    &lt;label for=&quot;person_first_name&quot;&gt;First Name&lt;/label&gt;\n    &lt;input type=&quot;text&quot; id=&quot;person_first_name&quot; name=&quot;person[first_name]&quot; /&gt;\n    &lt;label for=&quot;person_last_name&quot;&gt;Last Name&lt;/label&gt;\n    &lt;input type=&quot;text&quot; id=&quot;person_last_name&quot; name=&quot;person[last_name]&quot; /&gt;\n    &lt;input type=&quot;submit&quot; value=&quot;Create&quot; /&gt;\n  &lt;/form&gt;\n"
full_name: Merb::Helpers::Form#form_for
is_singleton: false
name: form_for
params: (name, attrs = {}, &blk)
visibility: public
