Class: Locomotive::ColorInput
- Inherits:
-
SimpleForm::Inputs::StringInput
- Object
- SimpleForm::Inputs::StringInput
- Locomotive::ColorInput
- Defined in:
- app/inputs/locomotive/color_input.rb
Instance Method Summary collapse
Instance Method Details
#html5? ⇒ Boolean
13 14 15 |
# File 'app/inputs/locomotive/color_input.rb', line 13 def html5? false end |
#input(wrapper_options) ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'app/inputs/locomotive/color_input.rb', line 4 def input() <<-HTML <div class="input-group"> #{super} <span class="input-group-addon"><i></i></span> </div> HTML end |