Edited actionpack/lib/action_view/helpers/form_helper.rb via GitHub

This commit is contained in:
José Valim
2011-04-14 23:37:35 -07:00
parent e68a83c9ec
commit c8c012caa8

View File

@@ -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"