Allow inline_label for booleans
This commit is contained in:
parent
42c6052072
commit
a0ea7e4e0c
|
@ -5,7 +5,7 @@ module SimpleForm
|
||||||
if nested_boolean_style?
|
if nested_boolean_style?
|
||||||
build_hidden_field_for_checkbox +
|
build_hidden_field_for_checkbox +
|
||||||
template.label_tag(nil, :class => "checkbox") {
|
template.label_tag(nil, :class => "checkbox") {
|
||||||
build_check_box_without_hidden_field
|
build_check_box_without_hidden_field + options[:inline_label]
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
build_check_box
|
build_check_box
|
||||||
|
|
Loading…
Reference in New Issue