Class: MathPickerInput

Inherits:
SimpleForm::Inputs::StringInput
  • Object
show all
Defined in:
lib/math_input/simple_form_extension.rb

Instance Method Summary collapse

Instance Method Details

#input(wrapper_options) ⇒ Object



3
4
5
6
7
# File 'lib/math_input/simple_form_extension.rb', line 3

def input(wrapper_options)
  input_html_classes << 'math-picker form-control'
  input_html_options[:type] = 'text'
  super
end