Carlos Antonio da Silva
|
9a25aaaeea
|
Split if condition
|
2012-01-05 08:40:48 -02:00 |
Vasiliy Ermolovich
|
e39e0e54cb
|
handle validates_length_of :is option
|
2012-01-03 21:10:50 +03:00 |
Vasiliy Ermolovich
|
e50011eadf
|
don't get maxlength from validation when tokenizer present
|
2012-01-02 23:48:41 +03:00 |
Carlos Antonio da Silva
|
89a6829ded
|
Only check for existence of validators when trying to find them
This allows a bit of cleanup on some components which are always
checking for has_validators? before doing the validators lookup.
|
2011-12-10 16:08:04 -02:00 |
José Valim
|
50b24b5cbe
|
Deprecate translate in favor of disabling the automatic lookup in hints and placeholders.
|
2011-12-04 15:49:57 +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 |
José Valim
|
e8749ae07e
|
Add class default options to avoid has_*? checks.
|
2011-12-04 13:29:59 +01:00 |
José Valim
|
ce19f2b898
|
Make maxlength a component.
|
2011-12-04 13:14:39 +01: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 |
José Valim
|
5d6d977fc8
|
Break up mapping input and also provide an enable API.
|
2011-09-03 11:13:29 +02:00 |
José Valim
|
ce932d6ad1
|
Mark maxlength methods as private.
|
2011-09-02 17:48:20 +02:00 |
Rafael Mendonça França
|
3a728a6e2d
|
Only generate maxlength when HTML 5 is active
|
2011-08-30 23:43:53 -03:00 |
Rafael Mendonça França
|
4a4c99f7fa
|
Add support for maxlenght to text area inputs. Closes #232
|
2011-08-30 20:52:31 -03:00 |