aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib
diff options
context:
space:
mode:
authorT.J. Schuck <tj@getharvest.com>2014-08-22 15:19:57 -0400
committerT.J. Schuck <tj@getharvest.com>2014-08-22 15:20:53 -0400
commit60da337a004faabf105639fd1b7f52fae0fc0f39 (patch)
tree58e27b736457f099669680e63028061c92325eb2 /actionview/lib
parent2602a49a8600ab52f807599bbd5b1f9c0be4214f (diff)
downloadrails-60da337a004faabf105639fd1b7f52fae0fc0f39.tar.gz
rails-60da337a004faabf105639fd1b7f52fae0fc0f39.tar.bz2
rails-60da337a004faabf105639fd1b7f52fae0fc0f39.zip
Clarify that unknown keys will become HTML attrs
Docs for all the other form tag helpers in this file already clarify this. [ci skip]
Diffstat (limited to 'actionview/lib')
-rw-r--r--actionview/lib/action_view/helpers/form_tag_helper.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/actionview/lib/action_view/helpers/form_tag_helper.rb b/actionview/lib/action_view/helpers/form_tag_helper.rb
index b18f578183..050c27e239 100644
--- a/actionview/lib/action_view/helpers/form_tag_helper.rb
+++ b/actionview/lib/action_view/helpers/form_tag_helper.rb
@@ -39,6 +39,7 @@ module ActionView
# * <tt>:remote</tt> - If set to true, will allow the Unobtrusive JavaScript drivers to control the
# submit behavior. By default this behavior is an ajax submit.
# * <tt>:enforce_utf8</tt> - If set to false, a hidden input with name utf8 is not output.
+ # * Any other key creates standard HTML attributes for the tag.
#
# ==== Examples
# form_tag('/posts')