From 677005c349b4c9585082bd2664cce2b36399d20e Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 19 Feb 2005 12:10:19 +0000 Subject: 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 --- actionpack/lib/action_view/helpers/tag_helper.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'actionpack/lib/action_view/helpers/tag_helper.rb') 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 url_for_options just like - # ActionController::Base#url_for. + # ActionController::Base#url_for. The method for the form defaults to POST. + # + # Options: + # * :multipart - 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) -- cgit v1.2.3