diff options
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/lib/action_view/helpers/tag_helper.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/tag_helper.rb b/actionpack/lib/action_view/helpers/tag_helper.rb index e7c74bc958..120dc0165b 100644 --- a/actionpack/lib/action_view/helpers/tag_helper.rb +++ b/actionpack/lib/action_view/helpers/tag_helper.rb @@ -23,7 +23,10 @@ module ActionView end # Starts a form tag that points the action to an url configured with <tt>url_for_options</tt> just like - # ActionController::Base#url_for. + # ActionController::Base#url_for. The method for the form defaults to POST. + # + # Options: + # * <tt>:multipart</tt> - If set to true, the enctype is set to "multipart/form-data". def form_tag(url_for_options = {}, options = {}, *parameters_for_url) html_options = { "method" => "post" }.merge(options) |