aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2011-12-31 19:08:46 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2011-12-31 19:08:46 +0530
commit86705b60a3bdbaaf39bc24cbc284a72eb533f9c1 (patch)
tree7d459096d74769abcab1fb06b19c9ee98b072f35 /actionpack
parent80be90f3de9d4c451ba7027a8abaf9e095b1c33f (diff)
parentcc843abb5079466631cda267fec0ac70952f84ca (diff)
downloadrails-86705b60a3bdbaaf39bc24cbc284a72eb533f9c1.tar.gz
rails-86705b60a3bdbaaf39bc24cbc284a72eb533f9c1.tar.bz2
rails-86705b60a3bdbaaf39bc24cbc284a72eb533f9c1.zip
Merge branch 'master' of github.com:lifo/docrails
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_view/helpers/form_tag_helper.rb4
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"