From 42eda20cce08c5006e71f0098067cc098fc3970c Mon Sep 17 00:00:00 2001 From: Shalva Usubov Date: Fri, 4 May 2012 17:36:42 +0400 Subject: Update documentation for button_to. --- actionpack/lib/action_view/helpers/url_helper.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'actionpack/lib/action_view/helpers') diff --git a/actionpack/lib/action_view/helpers/url_helper.rb b/actionpack/lib/action_view/helpers/url_helper.rb index d0f716cc80..08aa626dcc 100644 --- a/actionpack/lib/action_view/helpers/url_helper.rb +++ b/actionpack/lib/action_view/helpers/url_helper.rb @@ -303,7 +303,10 @@ module ActionView # # <%= button_to "Create", :action => "create", :remote => true, :form => { "data-type" => "json" } %> # # => "
- # #
+ # #
+ # # + # # + # #
# #
" # # @@ -313,6 +316,7 @@ module ActionView # #
# # # # + # # # #
# # " # @@ -323,6 +327,7 @@ module ActionView # #
# # # # + # # # #
# # " # # -- cgit v1.2.3