mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -167,7 +167,7 @@ module ActionView
|
||||
|
||||
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",
|
||||
|
||||
Reference in New Issue
Block a user