1
0
Fork 0
mirror of https://github.com/heartcombo/simple_form.git synced 2022-11-09 12:19:26 -05:00
heartcombo--simple_form/lib/simple_form
Carlos Antonio da Silva 645dd5257d Do not lookup for hints if it was explicitly given false
After #405 we added hint classes for the wrappers, but this has forced the
loading of the hint text doing I18n lookups, even though it was explicitly
given false. This checks for the option in #has_hint?, avoiding the lookup
in such cases.

This issues has been caught after #627 and some further investigation,
thanks to @shwoodard.
2012-10-26 01:50:01 -02:00
..
action_view_extensions Explaining gotcha with the :collection_wrapper_class option. 2012-07-02 23:37:10 -05:00
components Do not lookup for hints if it was explicitly given false 2012-10-26 01:50:01 -02:00
core_ext copying Hash#deep_dup from active_support 3.1 for #355 2011-11-30 20:03:58 -02:00
helpers Check by the validation kind method instead of the full constant 2012-10-03 00:05:47 -03:00
inputs fix default I18n lookup for association input 2012-10-24 20:51:13 +03:00
wrappers Generates additional wrapper class based on object + attribute name, 2012-10-07 00:35:35 -03:00
components.rb Small doc improvements 2011-12-10 15:55:27 -02:00
error_notification.rb Change error notification message default lookup when locale not found 2012-04-28 18:01:11 -03:00
form_builder.rb raise ArgumentError when has_one association was provided 2012-09-13 23:07:31 +03:00
helpers.rb Create more components. Make explicit the difference between helpers and components. Add default options to wrappers. 2011-12-04 14:57:12 +01:00
i18n_cache.rb Temporary refactoring. 2010-01-09 14:34:52 +01:00
inputs.rb :radio is not :radio_buttons 2012-01-27 17:47:48 -02:00
map_type.rb Fixed bug in MapType module when subclassing FormBuilder. 2011-04-06 08:37:14 +08:00
version.rb Now the horizon is 2.1.0 2012-09-27 20:19:52 -03:00
wrappers.rb Create more components. Make explicit the difference between helpers and components. Add default options to wrappers. 2011-12-04 14:57:12 +01:00