diff options
Diffstat (limited to 'actionpack/lib/action_view/helpers')
-rw-r--r-- | actionpack/lib/action_view/helpers/form_tag_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/form_tag_helper.rb b/actionpack/lib/action_view/helpers/form_tag_helper.rb index 081c317e0c..67b4e842b1 100644 --- a/actionpack/lib/action_view/helpers/form_tag_helper.rb +++ b/actionpack/lib/action_view/helpers/form_tag_helper.rb @@ -386,7 +386,7 @@ module ActionView options.stringify_keys! if disable_with = options.delete("disable_with") - options["data-disable-with"] = disable_with if disable_with + options["data-disable-with"] = disable_with end if confirm = options.delete("confirm") |