Commit Graph

31 Commits

Author SHA1 Message Date
Vasiliy Ermolovich 3a9a81fa85 remove mocha 2013-02-28 00:12:37 +03:00
Renato Mascarenhas 34312c9fbc Use 1.9 hash style on code and docs. 2013-01-28 19:02:59 -02:00
allomov ca197ce62c remove empty line after custom_wrapper_with_wrapped_label_input 2012-10-05 19:53:43 +03:00
allomov 4aef53d5d2 add test for this case 2012-10-05 19:45:20 +03:00
Paul Kmiec 4cb4a5ed5d prevent generating class="" 2012-06-29 12:53:32 -07:00
Rafael Mendonça França 9237674f73 Add failing test to label with single wrapper.
The :label_html options is being propagate to the label wrapper
2012-06-26 23:29:13 -03:00
Vasiliy Ermolovich 3d9a2ec19c add failing test for issue when input_html options apply to wrapper 2012-06-26 23:29:13 -03:00
Carlos Antonio da Silva 756b4f1c8d Only dup html options if they're given, change test description 2012-04-21 19:41:44 -03:00
Rafael Mendonça França 359f481f88 Add failing case for html options duplicated
Closes #488.
2012-04-21 09:55:30 -03:00
Vasiliy Ermolovich ab366ebc63 clenup tests 2012-03-01 09:05:15 +03:00
José Valim b9a568d149 Ensure wrap_with without a tag works. 2012-02-18 15:47:02 +01:00
Rafael Mendonça França c8b6ec5204 Update the Wrappers API 2012-02-16 12:07:46 -02:00
Carlos Antonio da Silva e6ddf8d097 Remove useless begin/end [ci skip] 2012-02-09 11:33:34 -02:00
George Hemmings 151b0d8fb9 Fix label for datetime inputs, point to first select
Point the label for datetime inputs at the first select. The date order can be
overridden by i18n and on a per-input basis. Use the specified order to
discover the first select.
2012-02-04 14:49:44 +00:00
José Valim 94dab68cd7 Create more components. Make explicit the difference between helpers and components. Add default options to wrappers. 2011-12-04 14:57:12 +01:00
Carlos Antonio da Silva fce17e353d Refactor tests a bit to reuse concat form helpers 2011-11-11 10:28:22 -02:00
Rafael Mendonça França b1708e241a Add test to not use top-level wrapper. Closes #359 2011-11-09 20:02:59 -02:00
José Valim 4367cfbd84 Test for previous commit 2011-09-08 16:04:37 +02:00
José Valim bf4d766fcb config.components => config.wrappers 2011-09-08 16:04:37 +02:00
José Valim da5e1d82be Remove deprecated stuff and raise an exception if any of the old methods are used. Point to the wiki page with update instructions. 2011-09-08 16:04:36 +02:00
José Valim f93a6be226 Add tests for custom wrappers. 2011-09-08 16:04:36 +02:00
José Valim cc72315703 Break inputs_test.rb into many files as well. 2011-09-08 16:04:36 +02:00
José Valim c11f35d0e8 Fixes after merge. 2011-09-08 16:03:55 +02:00
José Valim 8b53c49979 Deprecation. 2011-09-08 16:03:27 +02:00
José Valim 25a13a9e32 All tests pass with the new wrappers API. 2011-09-08 16:03:26 +02:00
Carlos Antonio da Silva 136cb9ac7b Improve HTML 5 readme 2011-05-16 07:18:17 -03:00
Roel van Dijk 81e3609c3b Fixed bug in MapType module when subclassing FormBuilder. 2011-04-06 08:37:14 +08:00
Johan Andersson 7c3b42ba22 Mappings should be inherited. 2011-01-05 20:52:49 +01:00
Carlos Antonio da Silva f570602c09 More concat cleanup on tests 2010-09-26 19:39:02 -03:00
Carlos Antonio da Silva 801634667a Tidy up previous commits, and fix step attribute
The numeric input was generating step="false" instead of skiping
the attribute. Fixed and add some more test cases for non integers.
2010-09-14 00:40:03 -03:00
José Valim af89e090f2 Allow component default tag to be changed. 2009-12-09 23:57:05 -02:00