1
0
Fork 0
mirror of https://github.com/heartcombo/simple_form.git synced 2022-11-09 12:19:26 -05:00
Commit graph

10 commits

Author SHA1 Message Date
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