Module: Adminterface::Extensions::Inputs::ColorInput
- Includes:
- Base, Base::Groupish, Base::Stringish
- Included in:
- ActiveAdmin::Inputs::ColorInput
- Defined in:
- lib/adminterface/extensions/inputs/color_input.rb
Instance Method Summary collapse
Methods included from Base::Stringish
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
9 10 11 |
# File 'lib/adminterface/extensions/inputs/color_input.rb', line 9 def input_html builder.color_field(method, ) end |
#input_html_options ⇒ Object
13 14 15 16 17 |
# File 'lib/adminterface/extensions/inputs/color_input.rb', line 13 def opts = super opts[:class] = "#{opts[:class]} form-control-color".squish opts end |