Commit Graph

20 Commits

Author SHA1 Message Date
Lucas Mazza b5f2ea420d Generates additional wrapper class based on object + attribute name,
like `<div class='input string user_name'>`.

Closes #576
2012-10-07 00:35:35 -03:00
Vasiliy Ermolovich 8dbcd5be43 allow to add additional classes only for wrapper
closes #629
2012-07-22 00:38:57 +03:00
Paul Kmiec 4cb4a5ed5d prevent generating class="" 2012-06-29 12:53:32 -07:00
Carlos Antonio da Silva f1edb15ac8 Tidy up, add changelog 2012-02-16 22:36:34 -02:00
Michał Krzyżanowski 436a59c6c3 simplify configuration 2012-02-16 18:42:47 +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
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
Rafael Mendonça França 8dc707a7c2 Add disabled class to disabled input 2011-09-11 18:46:47 -03: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 b54110c935 Wrappers docs. 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