Commit Graph

29 Commits

Author SHA1 Message Date
José Valim b9a568d149 Ensure wrap_with without a tag works. 2012-02-18 15:47:02 +01:00
Carlos Antonio da Silva f1edb15ac8 Tidy up, add changelog 2012-02-16 22:36:34 -02:00
Carlos Antonio da Silva 2dafe48ada Merge pull request #455 from krzyzak/master
Add ability not to add classes to div/label/input
2012-02-16 16:16:32 -08:00
Michał Krzyżanowski 436a59c6c3 simplify configuration 2012-02-16 18:42:47 +01:00
Rafael Mendonça França 23ae6091ee Update the documentation for Wrappers API 2012-02-16 13:22:05 -02:00
José Valim 20955a39c4 Cleaner builder API. 2012-02-16 14:47:59 +01:00
Michał Krzyżanowski d959016bbf added ability to disable automatically added classes to div/label/input 2012-02-13 23:23:07 +01:00
Carlos Antonio da Silva 95f7113661 Small refactor 2012-01-19 23:26:51 -02:00
Carlos Antonio da Silva 57066de948 Whitespace :scissors 2012-01-19 23:25:43 -02:00
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 9373dfb63b Do not propagate hint_class wrapper option to the input 2012-01-11 00:39:20 -02:00
Carlos Antonio da Silva d719e47c18 Use similar api for hints and errors, and cache hint to avoid double lookup 2012-01-10 19:00:14 -02:00
Vasiliy Ermolovich 40a0b2a7c5 add field_with_hint class to the input with hint wrappers, closes #323 2012-01-09 22:34:37 +03:00
José Valim 031e3324ca Fix a bug where input class was propagating to the wrapper, closes #381 2011-12-05 19:03:41 +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
Ben Mishkin 8128143a55 #359 - use no top level wrapper - don't clobber :tag => false 2011-11-09 19:20:22 -02:00
Rafael Mendonça França 8dc707a7c2 Add disabled class to disabled input 2011-09-11 18:46:47 -03:00
José Valim 848a9786e9 Always generate a tag for blocks. 2011-09-08 16:04:37 +02:00
José Valim bf4d766fcb config.components => config.wrappers 2011-09-08 16:04:37 +02:00
José Valim ba6bbac56c Small clean up. 2011-09-08 16:04:18 +02:00
José Valim 1753926575 Support nested find. 2011-09-08 16:03:55 +02:00
José Valim 4cacb961ae Use the new components builder syntax. 2011-09-08 16:03:27 +02:00
José Valim b54110c935 Wrappers docs. 2011-09-08 16:03:27 +02:00
José Valim 1e91fb42c3 Do not use splat for clarity. 2011-09-08 16:03:27 +02:00
José Valim e34b6a6b4e Remove Symbol monkey patches. 2011-09-08 16:03:27 +02:00
José Valim f8a9bae534 Getting rid of the internal components option. 2011-09-08 16:03:26 +02:00
José Valim 25a13a9e32 All tests pass with the new wrappers API. 2011-09-08 16:03:26 +02:00
José Valim c6e6dbd62d Use the root wrapper and removing rendering responsibility from input. 2011-09-08 16:03:26 +02:00
José Valim f62667ce61 Let's call those thing wrappers. 2011-09-08 16:03:26 +02:00