From 60da337a004faabf105639fd1b7f52fae0fc0f39 Mon Sep 17 00:00:00 2001 From: "T.J. Schuck" Date: Fri, 22 Aug 2014 15:19:57 -0400 Subject: Clarify that unknown keys will become HTML attrs Docs for all the other form tag helpers in this file already clarify this. [ci skip] --- actionview/lib/action_view/helpers/form_tag_helper.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'actionview/lib/action_view/helpers/form_tag_helper.rb') 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 # * :remote - If set to true, will allow the Unobtrusive JavaScript drivers to control the # submit behavior. By default this behavior is an ajax submit. # * :enforce_utf8 - 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') -- cgit v1.2.3