Skip to content

Commit

Permalink
Merge pull request #8218 from DawidJanczak/form-tag-doc
Browse files Browse the repository at this point in the history
[ci skip] Correct examples for form_tag helper.

Conflicts:
	actionpack/lib/action_view/helpers/form_tag_helper.rb
  • Loading branch information
carlosantoniodasilva committed Nov 14, 2012
1 parent e5946e0 commit 71922fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/lib/action_view/helpers/form_tag_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ module FormTagHelper
# <%= form_tag('/posts') do -%>
# <div><%= submit_tag 'Save' %></div>
# <% end -%>
# # => <form action="/posts" method="post"><div><input type="submit" name="submit" value="Save" /></div></form>
# # => <form action="/posts" method="post"><div><input type="submit" name="commit" value="Save" /></div></form>
#
# <%= form_tag('/posts', remote: true) %>
# # => <form action="/posts" method="post" data-remote="true">
Expand Down

0 comments on commit 71922fe

Please sign in to comment.