Module: Adminterface::Extensions::Inputs::RangeInput

Includes:
Base
Included in:
ActiveAdmin::Inputs::RangeInput
Defined in:
lib/adminterface/extensions/inputs/range_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

#label_html_options

Instance Method Details

#input_html_optionsObject



7
8
9
10
# File 'lib/adminterface/extensions/inputs/range_input.rb', line 7

def input_html_options
  opts = options[:input_html] || {}
  super.merge(class: "form-range #{opts[:class]}".squish)
end