Class: Locomotive::ColorInput

Inherits:
SimpleForm::Inputs::StringInput
  • Object
show all
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(wrapper_options)
  "    <div class=\"input-group\">\n      \#{super}\n      <span class=\"input-group-addon\"><i></i></span>\n    </div>\n  HTML\nend\n"