aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/form_helper.rb
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2011-04-14 23:37:35 -0700
committerJosé Valim <jose.valim@gmail.com>2011-04-14 23:37:35 -0700
commitc8c012caa8e5a379ed050fb4150fc1b57930fbfd (patch)
tree220ca716bcc2554870c33ba6ae0375bd7a5ad1ac /actionpack/lib/action_view/helpers/form_helper.rb
parente68a83c9ecdc5b9395e0dde687cafdf8330f9de0 (diff)
downloadrails-c8c012caa8e5a379ed050fb4150fc1b57930fbfd.tar.gz
rails-c8c012caa8e5a379ed050fb4150fc1b57930fbfd.tar.bz2
rails-c8c012caa8e5a379ed050fb4150fc1b57930fbfd.zip
Edited actionpack/lib/action_view/helpers/form_helper.rb via GitHub
Diffstat (limited to 'actionpack/lib/action_view/helpers/form_helper.rb')
-rw-r--r--actionpack/lib/action_view/helpers/form_helper.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/helpers/form_helper.rb b/actionpack/lib/action_view/helpers/form_helper.rb
index 9025d9e24c..68722b8214 100644
--- a/actionpack/lib/action_view/helpers/form_helper.rb
+++ b/actionpack/lib/action_view/helpers/form_helper.rb
@@ -610,9 +610,10 @@ module ActionView
# label(:post, :body)
# # => <label for="post_body">Write your entire text here</label>
#
- # Localization can also be based purely on the translation of the attribute-name like this:
+ # Localization can also be based purely on the translation of the attribute-name
+ # (if you are using ActiveRecord):
#
- # activemodel:
+ # activerecord:
# attribute:
# post:
# cost: "Total cost"