method
telephone_field
v7.0.0 -
Show latest stable
- Class:
ActionView::Helpers::FormHelper
telephone_field(object_name, method, options = {})public
Returns a text_field of type “tel”.
telephone_field("user", "phone") # => <input id="user_phone" name="user[phone]" type="tel" />