Commit Graph

12 Commits

Author SHA1 Message Date
José Valim 0fabc1b859 Allow inputs to be marked as optional.
This means they won't do any lookup unless explicitly told to.
2012-01-11 21:14:31 +01:00
Carlos Antonio da Silva 2df1aa6c0c Cleanup: no need to call presence, as the translate helper already does it 2011-12-10 15:56:47 -02:00
José Valim 50b24b5cbe Deprecate translate in favor of disabling the automatic lookup in hints and placeholders. 2011-12-04 15:49:57 +01:00
José Valim 94dab68cd7 Create more components. Make explicit the difference between helpers and components. Add default options to wrappers. 2011-12-04 14:57:12 +01:00
José Valim 6bf59dd508 Get rid of the enabled/disabled in favor of has_*? syntax. 2011-12-04 12:29:53 +01:00
José Valim f6d4ef7928 Use alias. 2011-09-08 16:04:37 +02:00
José Valim c640fb542e Use the fancy disable API. 2011-09-08 16:04:18 +02:00
José Valim 1753926575 Support nested find. 2011-09-08 16:03:55 +02:00
José Valim f50e5bdaea Provide enable/disable API. 2011-09-03 12:55:53 +02:00
José Valim a4655ba845 Refactor Inputs::Base into helpers and make :on based on the resource status. 2011-09-03 12:00:23 +02:00
José Valim 5d6d977fc8 Break up mapping input and also provide an enable API. 2011-09-03 11:13:29 +02:00
José Valim ebde237bf2 Move placeholders to a component.
This commit changes Inputs::Base to handle input_html_options on initialization and allows components to return nil.
2010-11-07 10:43:20 +01:00