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

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Generates a form tag, which accepts a block that is not directly based on resource attributes
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Parameters
- !ruby/object:SM::Flow::LIST 
  contents: 
  - !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 * a multipart enctype is automatically set if the form contains a file upload field\n"
- !ruby/struct:SM::Flow::H 
  level: 4
  text: Example
- !ruby/struct:SM::Flow::VERB 
  body: "  &lt;%= form :action =&gt; url(:controller =&gt; &quot;foo&quot;, :action =&gt; &quot;bar&quot;, :id =&gt; 1) do %&gt;\n    &lt;%= text_field :name =&gt; &quot;first_name&quot;, :label =&gt; &quot;First Name&quot; %&gt;\n    &lt;%= submit &quot;Create&quot; %&gt;\n  &lt;% end =%&gt;\n\n  Generates the HTML:\n\n  &lt;form action=&quot;/foo/bar/1&quot; method=&quot;post&quot;&gt;\n    &lt;label for=&quot;first_name&quot;&gt;First Name&lt;/label&gt;\n    &lt;input type=&quot;text&quot; id=&quot;first_name&quot; name=&quot;first_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
is_singleton: false
name: form
params: (*args, &blk)
visibility: public
