Commit Graph

15 Commits

Author SHA1 Message Date
Vasiliy Ermolovich 9503f8e6a4 add ability to specify checked and uncked values for boolean input
closes #643
2012-09-04 22:28:58 +03:00
Amiel Martin a094034926 Boolean hidden field uses name when :nested
Closes #619
2012-07-13 09:47:17 -08:00
Gray Manley 0c017e9efb If inline_label opt is true use default label text
Have the inline label text be set to the default
label text if the inline_label config is true.
2012-04-30 00:34:40 -05:00
Rafael Mendonça França 10592d36bf Fix CHANGELOG 2012-03-02 12:11:06 -03:00
Eric Hochberger a1d8a72712 changelog and test 2012-03-01 10:35:36 -05:00
Timur Vafin 8f800a72d0 Add extra "checkbox" class to label with nested style enabled using :label_input in wrapper config 2012-02-04 01:58:06 +04:00
Carlos Antonio da Silva 9bea76bfb9 Make sure disabled boolean input will generate a disabled hidden as well 2012-01-30 16:46:38 -02:00
Carlos Antonio da Silva fb0360d50a Make boolean input tag generate valid html5 when using nested style
This keeps Rails functionality by adding the required hidden checkbox
which will send an "unchecked value" when checkbox is not checked.
2012-01-30 16:46:37 -02:00
Carlos Antonio da Silva 12850f848e Fix boolean nested style bootstrap integration 2012-01-30 11:18:31 -02:00
Carlos Antonio da Silva 51a816e904 Generate label with text and options for boolean nested 2012-01-27 09:32:19 -02:00
Carlos Antonio da Silva 1b2a4b043d Fix nested style check for options hash 2012-01-26 15:44:13 -02:00
Carlos Antonio da Silva a6c5d8f1d6 Rename checkbox_style to boolean_style to make it more generic 2012-01-26 15:37:41 -02:00
Carlos Antonio da Silva 32952b9132 Add checkbox_style config, to opt for :inline or :nested 2012-01-26 11:30:08 -02:00
Carlos Antonio da Silva 961f5f577e Strip extra spaces from class html attribute 2012-01-26 10:58:34 -02:00
José Valim cc72315703 Break inputs_test.rb into many files as well. 2011-09-08 16:04:36 +02:00