Commit Graph

13 Commits

Author SHA1 Message Date
Carlos Antonio da Silva 801634667a Tidy up previous commits, and fix step attribute
The numeric input was generating step="false" instead of skiping
the attribute. Fixed and add some more test cases for non integers.
2010-09-14 00:40:03 -03:00
Carlos Antonio da Silva ed261854da Search for validations on both association and attribute (association_id) when testing for attribute required 2010-08-06 14:52:19 -03:00
José Valim dca86314fc Add required_by_default as option. 2010-07-06 11:28:23 +02:00
José Valim ab60a080b3 Split boolean inputs into their own class so we can change label input order. 2010-07-06 11:24:12 +02:00
José Valim 1ef232cf6d Numberic type inputs now have type=number for HTML5. 2010-06-01 23:40:12 +02:00
José Valim 303fb1fb1f Tidy up previous commit. 2010-05-17 11:09:23 +02:00
Guilherme Cirne 938166762f Using model validations to determine whether a field is required. 2010-05-17 16:41:38 +08:00
José Valim d818aed088 Tests running on Rails master. 2010-04-22 14:33:23 +02:00
Aaron 70de24e12c fix a couple of escaping issues in edge rails 2010-02-19 15:06:52 +08:00
José Valim 1c95ca444e Added Rails 3 Compatibility. 2010-02-06 20:41:35 +01: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 2af0377bb4 Ensure output is html safe. 2010-01-10 05:18:10 +01:00
José Valim 7d7c6cda72 Code refactoring finished. Now tests one. 2010-01-09 16:05:02 +01:00