lib/foundation_rails_helper/form_builder.rb
def check_box(attribute, options = {}, checked_value = '1', unchecked_value = '0')
      custom_label(attribute, options[:label], options[:label_options]) do
        options.delete(:label)
        options.delete(:label_options)
        super(attribute, options, checked_value, unchecked_value)
      end + error_and_help_text(attribute, options)
    end
def check_box(attribute, options = {}, checked_value = '1', unchecked_value = '0')
      custom_label(attribute, options[:label], options[:label_options]) do
        options.delete(:label)
        options.delete(:label_options)
        super(attribute, options, checked_value, unchecked_value)
      end + error_and_help_text(attribute, options)
    end
def check_box ( attribute , options = { } , checked_value = '1' , unchecked_value = '0' ) custom_label ( attribute , options [ :label ] , options [ :label_options ] ) do options . delete ( :label ) options . delete ( :label_options ) super ( attribute , options , checked_value , unchecked_value ) end + error_and_help_text ( attribute , options ) end
rubocop:disable LineLength
rubocop : disable LineLength