Class: ActiveAdmin::Inputs::Filters::TextInput
- Inherits:
-
Formtastic::Inputs::TextInput
- Object
- Formtastic::Inputs::TextInput
- ActiveAdmin::Inputs::Filters::TextInput
- Includes:
- Base, Base::SearchMethodSelect
- Defined in:
- lib/active_admin/inputs/filters/text_input.rb
Instance Method Summary collapse
Methods included from Base::SearchMethodSelect
#current_filter, #filter_options, #filters, included, #input_html, #select_html, #wrapper_html_options
Methods included from Base
#collection_from_options, #input_wrapping, #label_from_options, #required?, #wrapper_html_options
Methods included from Filters::FormtasticAddons
#column, #column_for, #has_predicate?, #humanized_method_name, #klass, #polymorphic_foreign_type?, #reflection_for, #scope?, #searchable_has_many_through?, #seems_searchable?
Methods included from Formtastic::Inputs::Base
Instance Method Details
#input_html_options ⇒ Object
9 10 11 12 13 14 |
# File 'lib/active_admin/inputs/filters/text_input.rb', line 9 def { cols: builder.default_text_area_width, rows: builder.default_text_area_height }.merge(super) end |
#to_html ⇒ Object
16 17 18 19 20 21 |
# File 'lib/active_admin/inputs/filters/text_input.rb', line 16 def to_html input_wrapping do label_html << builder.text_area(method, ) end end |