Rafael Mendonça França
|
15f0101545
|
Pass the options hash instead of the Leaf object
Right now we only care about the options so lets make the code simpler
|
2014-03-11 19:41:25 -03:00 |
Rafael Mendonça França
|
e9384fb4bd
|
Whitespaces
|
2014-03-11 19:13:59 -03:00 |
Rafael Mendonça França
|
4a13b2f99c
|
Move the context check down to the method
|
2014-03-11 16:39:24 -03:00 |
Rafael Mendonça França
|
3992cfc57d
|
Extract the wrapper options merge behavior to their own module
This make easier to share the same behavior between all the components
|
2014-03-11 16:33:51 -03:00 |
Rafael Mendonça França
|
44f22ca3fb
|
Make context optional
We plan to make it required in the future but it is optional now to make
easier to implement backwards compatibility
|
2014-03-11 15:22:45 -03:00 |
Rafael Mendonça França
|
df47a8599d
|
Merge the context options with the input options
|
2014-03-11 10:30:49 -03:00 |
Rafael Mendonça França
|
645988a855
|
Pass the context when rendering the component
|
2014-03-10 18:41:36 -03:00 |
Carlos Antonio da Silva
|
420d9bee7d
|
Indent protected/private calls
|
2012-01-26 17:22:05 -02:00 |
Carlos Antonio da Silva
|
3669bce6cf
|
Rename *CollectionInput to *CollectionSelectInput
|
2012-01-26 17:00:56 -02:00 |
José Valim
|
6bf59dd508
|
Get rid of the enabled/disabled in favor of has_*? syntax.
|
2011-12-04 12:29:53 +01:00 |
Carlos Antonio da Silva
|
bc2f3e73e8
|
Only add the "required" HTML 5 attribute for valid inputs, disable in selects (not allowed). Closes #141
|
2010-12-10 20:57:22 -02:00 |
José Valim
|
3873728e03
|
Do not pass :include_blank for DateTime inputs neither for PriorityZones when a priority is defined.
|
2010-02-03 15:56:27 +01:00 |
José Valim
|
7d7c6cda72
|
Code refactoring finished. Now tests one.
|
2010-01-09 16:05:02 +01:00 |