diff options
author | Alejandro Andrés <fuzzy.alej@gmail.com> | 2011-12-30 11:00:04 +0100 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2011-12-31 19:11:00 +0530 |
commit | 8be9d92c8b8a213c7830d5ba130514f9e207cbfe (patch) | |
tree | 8c64d23cf234b5ba81fb41c68f777b55a4994913 | |
parent | 95a83cc2487435ceb2a37e95875c4277e223916b (diff) | |
download | rails-8be9d92c8b8a213c7830d5ba130514f9e207cbfe.tar.gz rails-8be9d92c8b8a213c7830d5ba130514f9e207cbfe.tar.bz2 rails-8be9d92c8b8a213c7830d5ba130514f9e207cbfe.zip |
Fixed documentation error in code examples from form_tag_helper.rb
-rw-r--r-- | actionpack/lib/action_view/helpers/form_tag_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/helpers/form_tag_helper.rb b/actionpack/lib/action_view/helpers/form_tag_helper.rb index bb753ae27a..e3ad96ec1b 100644 --- a/actionpack/lib/action_view/helpers/form_tag_helper.rb +++ b/actionpack/lib/action_view/helpers/form_tag_helper.rb @@ -47,7 +47,7 @@ module ActionView # <% end -%> # # => <form action="/posts" method="post"><div><input type="submit" name="submit" value="Save" /></div></form> # - # <%= form_tag('/posts', :remote => true) %> + # <%= form_tag('/posts', :remote => true) %> # # => <form action="/posts" method="post" data-remote="true"> # # form_tag('http://far.away.com/form', :authenticity_token => false) @@ -577,7 +577,7 @@ module ActionView # # ==== Examples # number_field_tag 'quantity', nil, :in => 1...10 - # => <input id="quantity" name="quantity" min="1" max="9" type="number" /> + # # => <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" |