1
0
Fork 0
mirror of https://github.com/heartcombo/simple_form.git synced 2022-11-09 12:19:26 -05:00
Commit graph

27 commits

Author SHA1 Message Date
Daniel Schierbeck
88e6dd51b0 Add a step attribute when a numeric field is integer only 2010-09-14 10:52:13 +08:00
Daniel Schierbeck
abeb06a1db Set the max attribute when there's a <= validation 2010-09-14 10:52:13 +08:00
Daniel Schierbeck
c81f3ca994 Set the min attribute when there's a >= validation 2010-09-14 10:52:13 +08:00
José Valim
2c03c66346 Tests green on latest Rails. 2010-08-31 10:19:10 +02: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
a16789d3d7 Added error_method to tidy up error messages. 2010-07-06 11:38:35 +02:00
Wojciech Wnętrzak
736df6f3b9 make tests pass on ruby 1.9.2 2010-06-18 06:28:26 +08:00
Guilherme Cirne
938166762f Using model validations to determine whether a field is required. 2010-05-17 16:41:38 +08:00
José Valim
fcf06a5c76 Ensure type is text unless for url and email types. 2010-03-06 00:40:46 +01:00
José Valim
1c95ca444e Added Rails 3 Compatibility. 2010-02-06 20:41:35 +01:00
José Valim
371c8cd2fd Add more items to the TODO list. 2010-01-10 11:02:15 +01:00
José Valim
b1df90790e Add block support. 2010-01-10 05:12:57 +01:00
Carlos Antonio da Silva
cacbf269f3 Adding :include and :joins options to association finds. 2009-12-14 17:56:42 -02:00
José Valim
7235f4a177 Add has_many and has_and_belongs_to_many associations support. 2009-12-11 10:43:43 -02:00
Carlos Antonio da Silva
0c5f53fe74 Labels and hints with associations always lookup to association name and not to attribute with _id 2009-12-11 02:00:37 -02:00
Carlos Antonio da Silva
461f309bc7 Lookup errors in associations. 2009-12-11 01:18:56 -02:00
Carlos Antonio da Silva
3a83ae81c6 Ensure we always use foreign key name on association. 2009-12-11 00:34:26 -02:00
Carlos Antonio da Silva
a1209bf5a2 Creating basic association helper. 2009-12-11 00:18:14 -02:00
José Valim
ac85052e33 Allow label order to be configured. 2009-12-10 20:11:15 -02:00
José Valim
6277d94797 Add support to button. 2009-12-10 18:03:27 -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
d9cc0a3f94 Detect label and value automatically. 2009-12-10 00:22:53 -02:00
Carlos Antonio da Silva
94e30ce70b Refactoring tests based on components changes. 2009-12-09 20:36:21 -02:00
Carlos Antonio da Silva
6bbb04f61c Refactoring labels and radio buttons, css classes 2009-12-09 11:12:23 -02:00
Carlos Antonio da Silva
27e3e38c05 Adding errors to inputs. 2009-12-08 16:38:03 -02:00
Carlos Antonio da Silva
c58d217654 Creating input module and adding password field. 2009-12-08 13:44:54 -02:00
Carlos Antonio da Silva
b65d076183 Refactoring tests and splitting files. 2009-12-08 11:48:31 -02:00