Allow inline_label for booleans

This commit is contained in:
Eric Hochberger 2012-02-29 16:36:25 -05:00
parent 42c6052072
commit a0ea7e4e0c
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ module SimpleForm
if nested_boolean_style?
build_hidden_field_for_checkbox +
template.label_tag(nil, :class => "checkbox") {
build_check_box_without_hidden_field
build_check_box_without_hidden_field + options[:inline_label]
}
else
build_check_box