Commit Graph

9 Commits

Author SHA1 Message Date
José Valim e8749ae07e Add class default options to avoid has_*? checks. 2011-12-04 13:29:59 +01:00
José Valim 5ee02bdd2c Make required a component. 2011-12-04 13:03:09 +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 c640fb542e Use the fancy disable API. 2011-09-08 16:04:18 +02:00
José Valim 25a13a9e32 All tests pass with the new wrappers API. 2011-09-08 16:03:26 +02:00
José Valim 5d6d977fc8 Break up mapping input and also provide an enable API. 2011-09-03 11:13:29 +02:00
Carlos Antonio da Silva 583bdaf2b7 Add required html attribute for inputs - HTML5, closes #63.
This also ensures hidden inputs does not have required/optional options.
2010-09-26 23:53:08 -03:00
Carlos Antonio da Silva 66555b1e60 Small refactor and review some private methods 2010-09-26 23:21:30 -03:00
José Valim 7d7c6cda72 Code refactoring finished. Now tests one. 2010-01-09 16:05:02 +01:00