Commit Graph

33 Commits

Author SHA1 Message Date
Daniel Schierbeck 927077ca45 Also support < and > validations 2010-09-14 10:52:15 +08:00
Daniel Schierbeck c81f3ca994 Set the min attribute when there's a >= validation 2010-09-14 10:52:13 +08: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 e534bd2f4f Add Gemfile to project. 2010-07-06 14:07:24 +02:00
Wojciech Wnętrzak 736df6f3b9 make tests pass on ruby 1.9.2 2010-06-18 06:28:26 +08:00
José Valim 35f9c01324 Bring it back to life on Edge. 2010-06-07 08:01:32 +02:00
José Valim 1ef232cf6d Numberic type inputs now have type=number for HTML5. 2010-06-01 23:40:12 +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 71fdf0620a Tests running on latest Rails. 2010-03-19 13:29:24 +01:00
José Valim 048fcd9dba Raise an error if country_select cannot be found. 2010-03-16 10:36:16 +01:00
José Valim da578ccc24 Prepare for Rails 3 release. 2010-02-07 13:54:23 +01:00
José Valim e7929e89b7 Copy files is more useful than setting them as default internally. 2010-02-07 11:29:03 +01:00
José Valim d8b97c7f3e More Rails 3 goodness. 2010-02-06 21:44:07 +01:00
José Valim 1c95ca444e Added Rails 3 Compatibility. 2010-02-06 20:41:35 +01:00
José Valim 28bc70e8f4 Rename attribute to attribute_name to allow f.attribute calls (for show_for compatibility). 2009-12-13 19:16:00 -02:00
Carlos Antonio da Silva 8b4a273f14 Removing old params needed. 2009-12-11 18:47:34 -02:00
José Valim 74014e2743 Added :time_zone and :country select support. 2009-12-11 11:53:18 -02:00
Carlos Antonio da Silva 461f309bc7 Lookup errors in associations. 2009-12-11 01:18:56 -02:00
José Valim 2883707b92 Fix merge conflicts. 2009-12-10 19:52:23 -02:00
José Valim 6277d94797 Add support to button. 2009-12-10 18:03:27 -02:00
Carlos Antonio da Silva 233e1df4fa Allow I18n lookup for labels and hints based on the current action 2009-12-10 13:14:24 -02:00
Carlos Antonio da Silva 28f8a9b3b9 Refactoring attribute column, apply html options and start work on string options from column information. 2009-12-10 11:57:05 -02:00
José Valim 7329eb4c72 Make wrapper a component. 2009-12-10 11:01:44 -02:00
José Valim d9cc0a3f94 Detect label and value automatically. 2009-12-10 00:22:53 -02:00
José Valim af89e090f2 Allow component default tag to be changed. 2009-12-09 23:57:05 -02:00
José Valim 3134c6804e Test detect collection methods. 2009-12-09 21:18:29 -02:00
José Valim 727f29567a Start to use autoload. 2009-12-09 18:25:12 -02:00
José Valim 0ee5dfc222 Do not depend on I18n gem 2009-12-09 18:09:00 -02:00
Carlos Antonio da Silva 3f2e21533f Adding required option for labels/inputs and ensure labels also have input type and required css classes 2009-12-08 14:49:14 -02:00
Carlos Antonio da Silva b65d076183 Refactoring tests and splitting files. 2009-12-08 11:48:31 -02:00
Carlos Antonio da Silva 4509ec9202 Work in progress with form.input. 2009-11-19 19:26:16 -02:00
Carlos Antonio da Silva 27f050b949 Base form helper and builder. 2009-11-18 21:50:43 -02:00
Carlos Antonio da Silva a7d0cc21f0 Initial commit. 2009-11-18 15:45:35 -02:00