Class ActionView::Helpers::InstanceTag
In: lib/simple_form/action_view_extensions/builder.rb
Parent: Object

Backport Rails fix to checkbox tag element, which does not generate the hidden input when given nil as unchecked value. This is to make SimpleForm collection check boxes helper to work fine with nested boolean style, when they are wrapped in labels. Without that, clicking in the label would actually change the hidden input, instead of the checkbox. FIXME: remove when support only Rails >= 3.2.2.

Methods

Public Instance methods

[Validate]