aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaudio B. <claudiob@users.noreply.github.com>2015-08-16 08:41:20 -0700
committerClaudio B. <claudiob@users.noreply.github.com>2015-08-16 08:41:20 -0700
commit0e5ffa740caf6caa229f4a9315081d76d82dd18a (patch)
treee5ccb83cfb0348758c8d8e125dc1fb7ce8dfe250
parentcbca29a959fc0f6667d378953af31f0f0e004f55 (diff)
parentcfde3786e755a9751e4424f07f07ac41539f6129 (diff)
downloadrails-0e5ffa740caf6caa229f4a9315081d76d82dd18a.tar.gz
rails-0e5ffa740caf6caa229f4a9315081d76d82dd18a.tar.bz2
rails-0e5ffa740caf6caa229f4a9315081d76d82dd18a.zip
Merge pull request #21253 from vincefrancesi/date-helper-use-hidden-documentation
Documentation for ActionView::Helpers::DateHelper :use_hidden option
-rw-r--r--actionview/lib/action_view/helpers/date_helper.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/actionview/lib/action_view/helpers/date_helper.rb b/actionview/lib/action_view/helpers/date_helper.rb
index 94fbaa2dca..312e41ee48 100644
--- a/actionview/lib/action_view/helpers/date_helper.rb
+++ b/actionview/lib/action_view/helpers/date_helper.rb
@@ -228,6 +228,7 @@ module ActionView
# or the given prompt string.
# * <tt>:with_css_classes</tt> - Set to true if you want assign different styles for 'select' tags. This option
# automatically set classes 'year', 'month', 'day', 'hour', 'minute' and 'second' for your 'select' tags.
+ # * <tt>:use_hidden</tt> - Set to true if you only want to generate hidden input tags.
#
# If anything is passed in the +html_options+ hash it will be applied to every select tag in the set.
#