diff options
author | Paul McMahon <paul@mobalean.com> | 2011-10-28 15:34:12 +0900 |
---|---|---|
committer | Paul McMahon <paul@mobalean.com> | 2011-10-28 15:37:45 +0900 |
commit | 07c4297282c9c2d0768922722ad2ab08dedf4d8d (patch) | |
tree | 22eb4b519e8fd2dc604ad9295103d263bb0926c2 /actionpack/lib | |
parent | 4a065d56edcafacc99196522ea35fe28c5f45937 (diff) | |
download | rails-07c4297282c9c2d0768922722ad2ab08dedf4d8d.tar.gz rails-07c4297282c9c2d0768922722ad2ab08dedf4d8d.tar.bz2 rails-07c4297282c9c2d0768922722ad2ab08dedf4d8d.zip |
Add missing type to number_field_tag documentation
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_view/helpers/form_tag_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/form_tag_helper.rb b/actionpack/lib/action_view/helpers/form_tag_helper.rb index 13b9dc8553..1424a3584d 100644 --- a/actionpack/lib/action_view/helpers/form_tag_helper.rb +++ b/actionpack/lib/action_view/helpers/form_tag_helper.rb @@ -582,7 +582,7 @@ module ActionView # # ==== Examples # number_field_tag 'quantity', nil, :in => 1...10 - # => <input id="quantity" name="quantity" min="1" max="9" /> + # => <input id="quantity" name="quantity" min="1" max="9" type="number" /> def number_field_tag(name, value = nil, options = {}) options = options.stringify_keys options["type"] ||= "number" |