# File lib/action_view/helpers/form_tag_helper.rb, line 18 def form_tag(url_for_options = {}, options = {}, *parameters_for_url) html_options = { "method" => "post" }.merge(options.stringify_keys) if html_options["multipart"] html_options["enctype"] = "multipart/form-data" html_options.delete("multipart") end html_options["action"] = url_for(url_for_options, *parameters_for_url) tag("form", html_options, true) end