Commit Graph

22 Commits

Author SHA1 Message Date
José Valim 1048a592eb Update ERB file to use error f.error_notification 2010-09-26 02:13:08 -07:00
Jack Dempsey 154e927221 clean up nicely per good suggestion from josevalim 2010-07-17 21:26:02 +08:00
Jack Dempsey df6ec5ea66 add haml _form file and copy it into place if app template engine is haml 2010-07-17 21:26:01 +08:00
Carlos Antonio da Silva 25cc5b1e01 Rename fieldWithErrors css class to field_with_errors 2010-07-07 09:27:30 -03:00
Carlos Antonio da Silva eef11229c1 Use source_root class method 2010-07-06 18:42:54 -03:00
Carlos Antonio da Silva b779fe0ab9 Adding error_notification helper to show a default message at the top of forms when object has errors 2010-07-06 17:29:26 -03:00
José Valim a16789d3d7 Added error_method to tidy up error messages. 2010-07-06 11:38:35 +02: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
Carlos Antonio da Silva 17c12cb9b3 Update docs to use the new generator style simple_form:install 2010-06-04 02:19:37 -03:00
jduff 2f17381a38 make wrapper class configurable. fixes issue # 6 2010-05-28 14:10:50 +08:00
José Valim 8cb2092c40 Rename previous commit to wrapper_error_class and add a configuration test. 2010-05-24 22:38:38 +02:00
jduff 7ce457ca51 add fieldWtihErrors class on wrapper with errors (fixes Issue #3) 2010-05-25 03:18:40 +08:00
José Valim f6d69e2d35 Copy insanity from scaffold. 2010-05-24 11:52:13 +02:00
José Valim ae32faf6eb Rename simple_form_install to simple_form:install 2010-05-24 10:45:40 +02:00
José Valim c2a54901fb wrapper_tag is by default a :div. 2010-05-05 12:07:12 -07:00
José Valim 1c78f664e5 Update generated initializer. 2010-05-05 12:04:51 -07:00
Tomas Jogin 2f032b78e9 Add config options for hint, error tags
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-04-28 13:58:23 +02: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 086b20a7a5 Add default input size. 2010-02-06 22:06:25 +01:00
José Valim d8b97c7f3e More Rails 3 goodness. 2010-02-06 21:44:07 +01:00