Module: Adminterface::Extensions::Inputs::SelectInput
- Includes:
- Base, Base::Groupish
- Included in:
- ActiveAdmin::Inputs::SelectInput
- Defined in:
- lib/adminterface/extensions/inputs/select_input.rb
Instance Method Summary collapse
Methods included from Base::ActiveAdminConfig
#active_admin_config, #inputs_config
Methods included from Base::Pluginish
#plugin?, #plugins_configs, #plugins_options
Methods included from Base::Wrapping
#input_wrapping, #input_wrapping_html, #wrapper_classes
Methods included from Base::Labelling
Methods included from Base::Groupish
Instance Method Details
#input_html ⇒ Object
14 15 16 |
# File 'lib/adminterface/extensions/inputs/select_input.rb', line 14 def input_html select_html end |
#input_html_options ⇒ Object
18 19 20 21 |
# File 'lib/adminterface/extensions/inputs/select_input.rb', line 18 def opts = [:input_html] || {} super.merge(class: "form-select #{opts[:class]}".squish) end |
#to_html ⇒ Object
8 9 10 11 12 |
# File 'lib/adminterface/extensions/inputs/select_input.rb', line 8 def to_html input_wrapping do label_html << input_html end end |