Commit Graph

17 Commits

Author SHA1 Message Date
Rafael Mendonça França 619888ad5b Whitespaces 2011-09-08 10:28:28 -03:00
Patrick Collins 1e8bba7eb3 added css_class method and test for user specified css class 2011-07-25 21:23:28 -07:00
Rafael Mendonça França 14b6263ee2 Fix bug when simple_fields_for is used with a hask like model and improve coverage.
Thanks to https://github.com/spohlenz for figuring this out in the Rails code.
See more: https://github.com/rails/rails/pull/1778
2011-07-19 12:25:40 -03:00
Carlos Antonio da Silva 6e2a40ef01 Tidy up 2011-06-03 18:34:59 -03:00
Kai Schlamp dc3fd0922c Fixes #263
and added some documentation for the form specfic novalidate feature.
2011-06-03 22:54:19 +02:00
Carlos Antonio da Silva aab1976213 Change disable_browser_validations option to browser_validations
This option, when configured to false, will add to forms the "novalidate"
property, which instructs them to not validate any of the new HTML 5 inline
browser validations.

This commit inverts the current "meaning" of this configuration by removing the
"disable" prefix, making it more consistent.
2011-05-16 06:50:32 -03:00
Carlos Antonio da Silva 72cfbc5bff Tidy up last patch tests and update changelog 2011-04-05 21:23:40 -03:00
Cory Schires abf48a740d Added config option to disable browser validations on all form elements. 2011-04-06 08:11:17 +08:00
Carlos Antonio da Silva b5f266726d The tests makes more sense under the builder 2011-03-01 23:05:58 -03:00
Carlos Antonio da Silva 08d2aeece8 Use the existing custom form builder for tests and refactor a bit 2011-03-01 23:03:50 -03:00
Alexander Gräfenstein 4afd67f376 tests for custom builder instantiation on a simple_fields_for call 2011-03-02 09:54:26 +08:00
Wojciech Wnętrzak 736df6f3b9 make tests pass on ruby 1.9.2 2010-06-18 06:28:26 +08:00
José Valim 1c89943d55 Make tests green with Rails master. 2010-03-16 10:41:45 +01:00
José Valim 1c95ca444e Added Rails 3 Compatibility. 2010-02-06 20:41:35 +01:00
Carlos Antonio da Silva 818414e9bc Adding css classes to form 2009-12-10 21:31:03 -02:00
Carlos Antonio da Silva aabeacf40b Initial support to simple_fields_for and simple_remote_form_for 2009-12-10 08:44:34 -02:00
Carlos Antonio da Silva 94e30ce70b Refactoring tests based on components changes. 2009-12-09 20:36:21 -02:00