# File lib/action_view/helpers/form_tag_helper.rb, line 389 def submit_tag(value = "Save changes", options = {}) options.stringify_keys! if disable_with = options.delete("disable_with") options["data-disable-with"] = disable_with end if confirm = options.delete("confirm") add_confirm_to_attributes!(options, confirm) end tag :input, { "type" => "submit", "name" => "commit", "value" => value }.update(options.stringify_keys) end