1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/lib/action_view/helpers
Vasiliy Ermolovich 130fe2b172 correct handling of date selects when using both disabled and discard options
we should take disabled option not only from `html_options` hash but from
`options` hash too like `build_select` method does it. So

datetime_select("post", "updated_at", { :discard_minute => true }, { :disabled => true })
datetime_select("post", "updated_at", :discard_minute => true , :disabled => true)

both these variants work now

closes #7431
2012-08-25 19:02:41 +03:00
..
asset_tag_helpers Rearrange example output of javascript_include_tag 2012-08-06 16:45:59 -04:00
tags Fixed bug creating invalid HTML in select options 2012-07-10 15:03:37 -04:00
active_model_helper.rb load active_support/core_ext/object/blank in active_support/rails 2012-08-02 21:59:22 +02:00
asset_tag_helper.rb Fix documentation mistakes 2012-08-21 16:58:34 +02:00
atom_feed_helper.rb
benchmark_helper.rb
cache_helper.rb Modernize the documentation for view caching somewhat 2012-08-08 11:25:22 -05:00
capture_helper.rb load active_support/core_ext/object/blank in active_support/rails 2012-08-02 21:59:22 +02:00
controller_helper.rb One-liner code for logger in ActionView::Helpers::ControllerHelper 2012-06-05 14:16:53 +04:00
csrf_helper.rb
date_helper.rb correct handling of date selects when using both disabled and discard options 2012-08-25 19:02:41 +03:00
debug_helper.rb Use content_tag here instead of manually building HTML 2012-08-03 10:00:55 -03:00
form_helper.rb Fix documentation mistakes 2012-08-21 16:58:34 +02:00
form_options_helper.rb Make a doc example output in match actual output 2012-08-15 19:52:52 -04:00
form_tag_helper.rb option_tags coerced to "" instead of nil 2012-08-21 21:59:05 +05:30
javascript_helper.rb Deprecate button_to_function and link_to_function helpers. 2012-08-07 20:57:42 -03:00
number_helper.rb Do not propagate the :raise option to AS number helpers 2012-06-24 19:30:05 -03:00
output_safety_helper.rb Revert "Remove blank trailing comments" 2012-05-23 22:43:08 +05:30
record_tag_helper.rb Revert "Remove blank trailing comments" 2012-05-23 22:43:08 +05:30
rendering_helper.rb Revert "Remove blank trailing comments" 2012-05-23 22:43:08 +05:30
sanitize_helper.rb Do not mark strip_tags result as html_safe 2012-08-09 18:51:05 -03:00
tag_helper.rb load active_support/core_ext/object/blank in active_support/rails 2012-08-02 21:59:22 +02:00
tags.rb Add several HTML5 input helpers 2012-05-21 17:23:56 -03:00
text_helper.rb load active_support/core_ext/object/blank in active_support/rails 2012-08-02 21:59:22 +02:00
translation_helper.rb Fixed typo new_defautls -> new_defaults. 2012-05-23 11:04:15 +12:00
url_helper.rb copy edits [ci skip] 2012-08-16 00:05:47 +05:30