diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2015-01-19 15:19:44 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2015-01-19 15:19:44 +0900 |
commit | 5c672c0710b751b4c2ea4e995e8f3042a9b4af65 (patch) | |
tree | bc7b0063faf79f5f50efff8c782425b32ddcbee5 /actionview/lib/action_view/helpers | |
parent | 53919bbfd2b3232ec66e0cdea7b387725653ab43 (diff) | |
download | rails-5c672c0710b751b4c2ea4e995e8f3042a9b4af65.tar.gz rails-5c672c0710b751b4c2ea4e995e8f3042a9b4af65.tar.bz2 rails-5c672c0710b751b4c2ea4e995e8f3042a9b4af65.zip |
fix typo in number_field_tag documentation [ci skip]
Diffstat (limited to 'actionview/lib/action_view/helpers')
-rw-r--r-- | actionview/lib/action_view/helpers/form_tag_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionview/lib/action_view/helpers/form_tag_helper.rb b/actionview/lib/action_view/helpers/form_tag_helper.rb index 93c04fbec6..8bb243b8b7 100644 --- a/actionview/lib/action_view/helpers/form_tag_helper.rb +++ b/actionview/lib/action_view/helpers/form_tag_helper.rb @@ -777,10 +777,10 @@ module ActionView # # => <input id="quantity" name="quantity" min="1" max="9" type="number" /> # # number_field_tag 'quantity', nil, min: 1, max: 10 - # # => <input id="quantity" name="quantity" min="1" max="9" type="number" /> + # # => <input id="quantity" name="quantity" min="1" max="10" type="number" /> # # number_field_tag 'quantity', nil, min: 1, max: 10, step: 2 - # # => <input id="quantity" name="quantity" min="1" max="9" step="2" type="number" /> + # # => <input id="quantity" name="quantity" min="1" max="10" step="2" type="number" /> # # number_field_tag 'quantity', '1', class: 'special_input', disabled: true # # => <input disabled="disabled" class="special_input" id="quantity" name="quantity" type="number" value="1" /> |