aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/tag_helper.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-02-19 12:10:19 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-02-19 12:10:19 +0000
commit677005c349b4c9585082bd2664cce2b36399d20e (patch)
tree5c2ae00a06e72ae3f7e00f9723b7c885e8dc99cc /actionpack/lib/action_view/helpers/tag_helper.rb
parent9bb8c107fa75a32aa4dd473c3352e6b0b5aee4cd (diff)
downloadrails-677005c349b4c9585082bd2664cce2b36399d20e.tar.gz
rails-677005c349b4c9585082bd2664cce2b36399d20e.tar.bz2
rails-677005c349b4c9585082bd2664cce2b36399d20e.zip
Added Iran and Irak to the countries list used by country_select and country_options_for_select
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@683 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_view/helpers/tag_helper.rb')
-rw-r--r--actionpack/lib/action_view/helpers/tag_helper.rb5
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)