class ActiveAdmin::Inputs::Filters::ComparableSelectInput

Public Instance Methods

input_html()
input_html_options() click to toggle source
Calls superclass method
# File lib/active_admin/inputs/filters/comparable_select_input.rb, line 20
def input_html_options
  opts = super
  opts[:class] ||= ''
  opts[:class] = (opts[:class].split(' ') + ['subject']).join(' ')
  opts
end
original_select_html()
Also aliased as: input_html
Alias for: select_html
select_html() click to toggle source
# File lib/active_admin/inputs/filters/comparable_select_input.rb, line 27
def select_html
  template.select_tag '', template.options_for_select(filter_options, current_filter), class: 'predicate'
end
Also aliased as: original_select_html
wrapper_html_options() click to toggle source
Calls superclass method
# File lib/active_admin/inputs/filters/comparable_select_input.rb, line 13
def wrapper_html_options
  opts = super
  opts[:class] ||= ''
  opts[:class] = (opts[:class].split(' ') + ['select_and_select']).join(' ')
  opts
end