mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
doc: form_for does return output rather than merely evaluate its block
This commit is contained in:
parent
ab62aa1c43
commit
198975ecee
1 changed files with 0 additions and 4 deletions
|
@ -150,10 +150,6 @@ module ActionView
|
||||||
# here a named route directly as well. Defaults to the current action.
|
# here a named route directly as well. Defaults to the current action.
|
||||||
# * <tt>:html</tt> - Optional HTML attributes for the form tag.
|
# * <tt>:html</tt> - Optional HTML attributes for the form tag.
|
||||||
#
|
#
|
||||||
# Worth noting is that the +form_for+ tag is called in a ERb evaluation
|
|
||||||
# block, not an ERb output block. So that's <tt><% %></tt>, not
|
|
||||||
# <tt><%= %></tt>.
|
|
||||||
#
|
|
||||||
# Also note that +form_for+ doesn't create an exclusive scope. It's still
|
# Also note that +form_for+ doesn't create an exclusive scope. It's still
|
||||||
# possible to use both the stand-alone FormHelper methods and methods
|
# possible to use both the stand-alone FormHelper methods and methods
|
||||||
# from FormTagHelper. For example:
|
# from FormTagHelper. For example:
|
||||||
|
|
Loading…
Reference in a new issue