Module: JqueryUiForm::Inputs::TextInput

Included in:
FormBuilder
Defined in:
lib/jquery_ui_form/inputs/text_input.rb

Instance Method Summary collapse

Instance Method Details

#text_input(method, options = {}) ⇒ Object



5
6
7
8
9
# File 'lib/jquery_ui_form/inputs/text_input.rb', line 5

def text_input(method, options = {})
  options[:rows] ||= 5
  options[:cols] ||= 35
  basic_input_helper(:text_area, :text, method, options)   
end