Module: JqueryUiForm::Inputs::FileInput

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

Instance Method Summary collapse

Instance Method Details

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



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

def file_input(method, options = {})
  options[:type] = "file"
  basic_input_helper(:file_field, :file, method, options)   
end