Skip to content
Browse files

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
  • Loading branch information...
1 parent 9bb8c10 commit 677005c349b4c9585082bd2664cce2b36399d20e @dhh dhh committed Feb 19, 2005
Showing with 4 additions and 1 deletion.
  1. +4 −1 actionpack/lib/action_view/helpers/tag_helper.rb
View
5 actionpack/lib/action_view/helpers/tag_helper.rb
@@ -23,7 +23,10 @@ def content_tag(name, content, options = {})
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)

0 comments on commit 677005c

Please sign in to comment.
Something went wrong with that request. Please try again.