Browse files

Added Afghanistan (no more conspiracy!) to FormOptions#country_select…

… and FormOptions#country_options_for_select

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@696 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 9b5ece8 commit 0de0d207e83a4814a497639d226a4ff787fa871a @dhh dhh committed Feb 19, 2005
Showing with 2 additions and 2 deletions.
  1. +1 −1 actionpack/CHANGELOG
  2. +1 −1 actionpack/lib/action_view/helpers/form_options_helper.rb
View
2 actionpack/CHANGELOG
@@ -11,7 +11,7 @@
* Added FormTagHelper that provides a number of methods for creating form tags that doesn't rely on conventions with an object assigned to the template like FormHelper does. With the FormTagHelper, you provide the names and values yourself.
-* Added Iran and Irak to the countries list used by FormOptions#country_select and FormOptions#country_options_for_select
+* Added Afghanistan, Iran, and Irak to the countries list used by FormOptions#country_select and FormOptions#country_options_for_select
* Renamed link_to_image to link_image_to (since thats what it actually does) -- kept alias for the old method name
View
2 actionpack/lib/action_view/helpers/form_options_helper.rb
@@ -167,7 +167,7 @@ def country_options_for_select(selected = nil, priority_countries = nil)
private
# All the countries included in the country_options output.
- COUNTRIES = [ "Albania", "Algeria", "American Samoa", "Andorra", "Angola", "Anguilla",
+ COUNTRIES = [ "Afghanistan", "Albania", "Algeria", "American Samoa", "Andorra", "Angola", "Anguilla",
"Antarctica", "Antigua And Barbuda", "Argentina", "Armenia", "Aruba", "Australia",
"Austria", "Azerbaijan", "Bahamas", "Bahrain", "Bangladesh", "Barbados", "Belarus",
"Belgium", "Belize", "Benin", "Bermuda", "Bhutan", "Bolivia", "Bosnia and Herzegowina",

0 comments on commit 0de0d20

Please sign in to comment.