Class: TextFullWidthInput

Inherits:
SimpleForm::Inputs::TextInput
  • Object
show all
Defined in:
app/inputs/text_full_width_input.rb

Overview


Instance Method Summary collapse

Instance Method Details

#input(wrapper_options) ⇒ Object



3
4
5
6
7
8
# File 'app/inputs/text_full_width_input.rb', line 3

def input(wrapper_options)
  input_html_classes << 'input-block-level'
  input_html_classes << ' monospaced' if options[:mono]
  input_html_options[:rows] = options[:rows] if options[:rows]
  super
end