mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge branch 'master' of github.com:rails/rails
This commit is contained in:
commit
7dea4b57a4
1 changed files with 4 additions and 3 deletions
|
@ -610,10 +610,11 @@ 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:
|
||||
# attribute:
|
||||
# activerecord:
|
||||
# attributes:
|
||||
# post:
|
||||
# cost: "Total cost"
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue