class SimpleFormExtension::Inputs::BooleanInput
Public Instance Methods
Source
# File lib/simple_form_extension/inputs/boolean_input.rb, line 4 def input(wrapper_options = nil) input_html_options[:class] << "check_boxes" super end
Calls superclass method
Private Instance Methods
Source
# File lib/simple_form_extension/inputs/boolean_input.rb, line 11 def build_check_box(unchecked_value, options) "#{@builder.check_box(attribute_name, input_html_options, checked_value, unchecked_value)} <i class=\"checkbox-icon\"></i>".html_safe end