aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorMikhail Dieterle <MikDiet@gmail.com>2013-03-15 22:48:41 +0300
committerMikhail Dieterle <MikDiet@gmail.com>2013-03-15 22:48:41 +0300
commit0ddae9fcf6a648b48cf06562a95618ea6c84fbbb (patch)
treeef75a8c7562ee79763f6a44494ed025ceb050e4a /guides/source
parente42d60780df2764301c4417c91512ca94d97c38c (diff)
downloadrails-0ddae9fcf6a648b48cf06562a95618ea6c84fbbb.tar.gz
rails-0ddae9fcf6a648b48cf06562a95618ea6c84fbbb.tar.bz2
rails-0ddae9fcf6a648b48cf06562a95618ea6c84fbbb.zip
fix typo in form helpers guide
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/form_helpers.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/form_helpers.md b/guides/source/form_helpers.md
index dd641c2e29..4e935442cc 100644
--- a/guides/source/form_helpers.md
+++ b/guides/source/form_helpers.md
@@ -423,7 +423,7 @@ Whenever Rails sees that the internal value of an option being generated matches
TIP: The second argument to `options_for_select` must be exactly equal to the desired internal value. In particular if the value is the integer 2 you cannot pass "2" to `options_for_select` — you must pass 2. Be aware of values extracted from the `params` hash as they are all strings.
-WARNING: when `:include_blank` or `:prompt:` are not present, `:include_blank` is forced true if the select attribute `required` is true, display `size` is one and `multiple` is not true.
+WARNING: when `:include_blank` or `:prompt` are not present, `:include_blank` is forced true if the select attribute `required` is true, display `size` is one and `multiple` is not true.
You can add arbitrary attributes to the options using hashes: