class ActiveAdmin::Inputs::Filters::CheckBoxesInput

def choice_label(choice)

Add whitespace before label
def choice_label(choice)
  " " + super
end

def choice_wrapping(html_options, &block)

Don't wrap in LI tag
def choice_wrapping(html_options, &block)
  template.capture(&block)
end

def choices_group_wrapping(&block)

Don't wrap in UL tag
def choices_group_wrapping(&block)
  template.capture(&block)
end

def hidden_field_for_all

Don't render hidden fields
def hidden_field_for_all
  ""
end

def hidden_fields?

Don't render hidden fields
def hidden_fields?
  false
end

def input_name

def input_name
  "#{object_name}[#{searchable_method_name}_in][]"
end

def searchable_method_name

def searchable_method_name
  if searchable_has_many_through?
    "#{reflection.through_reflection.name}_#{reflection.foreign_key}"
  else
    association_primary_key || method
  end
end

def selected_values

def selected_values
  @object.public_send("#{searchable_method_name}_in") || []
end