Commit Graph

8 Commits

Author SHA1 Message Date
Rafael Mendonça França f4a1ac6f83 FormBuilder methods should not modify the options hash
Closes #463
2012-02-21 01:42:06 -02:00
José Valim b9a568d149 Ensure wrap_with without a tag works. 2012-02-18 15:47:02 +01:00
Ram Dobson b4a32f3664 move default attribute translations out of root
(#384)

- move simpleform.label.username to simpleform.label.defaults.username
- update README
- allow lookup of reflections on simpleform.label.defaults

Conflicts:

	lib/simple_form/inputs/base.rb
	test/components/label_test.rb
	test/form_builder/hint_test.rb
2011-12-10 16:50:03 -05:00
José Valim 259640e4cb Fix ambiguity in i18n lookup, closes #384. 2011-12-08 09:44:08 +01:00
Marcelo Cajueiro bfe2314901 Add test case to hint (i18n): a model should not be used as attribute in a hint; 2011-11-26 19:34:53 +03:00
José Valim bf4d766fcb config.components => config.wrappers 2011-09-08 16:04:37 +02:00
José Valim f93a6be226 Add tests for custom wrappers. 2011-09-08 16:04:36 +02:00
José Valim 3ee59b5d0d Break form builder test into smaller files. 2011-09-08 16:04:36 +02:00