aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-04-17 16:15:43 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-04-17 16:15:43 -0300
commit1de258e6c632c8868be71ca088de673562436b96 (patch)
tree9d929f3c5ee5af1f080979e9fdd4032dfd2a0204 /actionview/lib
parentdd5f831f3ba973f2c664da9ec19037ced4f8b813 (diff)
downloadrails-1de258e6c632c8868be71ca088de673562436b96.tar.gz
rails-1de258e6c632c8868be71ca088de673562436b96.tar.bz2
rails-1de258e6c632c8868be71ca088de673562436b96.zip
Remove wrapper div for inputs in button_to
Related with cbb917455f306cf5818644b162f22be09f77d4b2
Diffstat (limited to 'actionview/lib')
-rw-r--r--actionview/lib/action_view/helpers/url_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/lib/action_view/helpers/url_helper.rb b/actionview/lib/action_view/helpers/url_helper.rb
index 89c196e578..894616a449 100644
--- a/actionview/lib/action_view/helpers/url_helper.rb
+++ b/actionview/lib/action_view/helpers/url_helper.rb
@@ -323,7 +323,7 @@ module ActionView
inner_tags.safe_concat tag(:input, type: "hidden", name: param_name, value: value.to_param)
end
end
- content_tag('form', content_tag('div', inner_tags), form_options)
+ content_tag('form', inner_tags, form_options)
end
# Creates a link tag of the given +name+ using a URL created by the set of