class ActiveAdmin::Inputs::FilterStringInput
Public Instance Methods
to_html()
click to toggle source
If the filter method includes a search condition, build a normal string search field. Else, build a search field with a companion dropdown to choose a search condition from.
Calls superclass method
ActiveAdmin::Inputs::FilterBase::SearchMethodSelect#to_html
# File lib/active_admin/inputs/filter_string_input.rb, line 11 def to_html if seems_searchable? input_wrapping do label_html << builder.text_field(method, input_html_options) end else super # SearchMethodSelect#to_html end end