diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2008-06-29 00:35:30 +0100 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2008-06-29 00:36:31 +0100 |
commit | 029a7455846cde2654958358a6fe354f236ade35 (patch) | |
tree | c96eaf2014351d3322f1f433f8e6958da8f66a1e /actionpack/lib/action_view/helpers/date_helper.rb | |
parent | 1415df8f49a19d469b9e2c15785db32eb312c000 (diff) | |
download | rails-029a7455846cde2654958358a6fe354f236ade35.tar.gz rails-029a7455846cde2654958358a6fe354f236ade35.tar.bz2 rails-029a7455846cde2654958358a6fe354f236ade35.zip |
Ensure FormBuilder date helpers respects html_options. [#506 state:resolved] [Pascal Ehlert]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Diffstat (limited to 'actionpack/lib/action_view/helpers/date_helper.rb')
-rwxr-xr-x | actionpack/lib/action_view/helpers/date_helper.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/action_view/helpers/date_helper.rb b/actionpack/lib/action_view/helpers/date_helper.rb index 7ed6272898..1aee9ef0a2 100755 --- a/actionpack/lib/action_view/helpers/date_helper.rb +++ b/actionpack/lib/action_view/helpers/date_helper.rb @@ -696,15 +696,15 @@ module ActionView class FormBuilder def date_select(method, options = {}, html_options = {}) - @template.date_select(@object_name, method, options.merge(:object => @object)) + @template.date_select(@object_name, method, options.merge(:object => @object), html_options) end def time_select(method, options = {}, html_options = {}) - @template.time_select(@object_name, method, options.merge(:object => @object)) + @template.time_select(@object_name, method, options.merge(:object => @object), html_options) end def datetime_select(method, options = {}, html_options = {}) - @template.datetime_select(@object_name, method, options.merge(:object => @object)) + @template.datetime_select(@object_name, method, options.merge(:object => @object), html_options) end end end |