Module: JqueryUiForm::Inputs::PhoneInput

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

Instance Method Summary collapse

Instance Method Details

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



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

def phone_input(method, options = {})
  options[:type] = "tel"
  basic_input_helper(:phone_field, :phone, method, options)   
end