Rafael Mendonça França
|
58220b2fa5
|
Define merge_wrapper_options in Base instead in a Helper
Helpers are related to HTML attributes. merge_wrapper_options is not
related to HTML
|
2014-03-11 19:19:13 -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 |
Renato Mascarenhas
|
34312c9fbc
|
Use 1.9 hash style on code and docs.
|
2013-01-28 19:02:59 -02: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
|
10f2e67708
|
Make pattern a component.
|
2011-12-04 13:40:04 +01:00 |
José Valim
|
ce19f2b898
|
Make maxlength a component.
|
2011-12-04 13:14:39 +01:00 |
José Valim
|
5ee02bdd2c
|
Make required a component.
|
2011-12-04 13:03:09 +01:00 |
José Valim
|
fcd049adc6
|
Convert disabled to a component.
|
2011-12-04 12:15:22 +01:00 |
Stephen Ingram
|
fd62add671
|
Added :readonly as f.input html option
Added the ability to specify :readonly => true to f.input. Works the
same as :disabled. The code is a clone of the code for :disabled.
|
2011-11-25 23:38:47 -10:00 |
Rafael Mendonça França
|
96275d6241
|
Extract disabled logic to a helper. Closes #317
|
2011-09-11 18:53:00 -03:00 |
José Valim
|
594f94afb6
|
Remove Helpers::HasErrors.
|
2011-09-08 16:04:18 +02:00 |
José Valim
|
3387cc7066
|
Move HasErrors to helpers.
|
2011-09-03 12:04:23 +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 |