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

17 commits

Author SHA1 Message Date
José Valim
42830967d7 Most of refactoring done. 2010-01-09 15:39:14 +01:00
José Valim
075e7b23b6 Temporary refactoring. 2010-01-09 14:34:52 +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
José Valim
c56feeb136 Small tests refactoring. 2009-12-13 18:42:27 -02:00
Carlos Antonio da Silva
8b4a273f14 Removing old params needed. 2009-12-11 18:47:34 -02:00
José Valim
9add5b8c10 Make :create and :update map to :new and :edit. 2009-12-11 18:32:57 -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
José Valim
725ca0f4a1 Terminator is not public. 2009-12-10 23:48:29 -02:00
Carlos Antonio da Silva
12f85e4910 Ensure labels are clickable when dealing with date/time/datetime selects, for better accessibility 2009-12-10 22:23:04 -02:00
José Valim
2883707b92 Fix merge conflicts. 2009-12-10 19:52:23 -02:00
José Valim
3d63b66aa9 Use required.html instead of required.string and there is no need to cache required.text and required.mark, since they are already cached by required.html 2009-12-10 18:09:26 -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
José Valim
5f2659d9c8 Wrapper support finished by adding component_html_options.
Now all components by default parse the options at :#{component_name}_html.
For example, if you want to customize your hints, you just need to give :hint_html.
2009-12-10 12:12:48 -02:00
José Valim
000156e2e2 Finish component stack refactoring. 2009-12-10 11:23:48 -02:00
José Valim
7329eb4c72 Make wrapper a component. 2009-12-10 11:01:44 -02:00
Carlos Antonio da Silva
c255e0a504 Updates to get forms working without objects and tests refactorings. 2009-12-10 09:31:40 -02:00
Carlos Antonio da Silva
94e30ce70b Refactoring tests based on components changes. 2009-12-09 20:36:21 -02:00