mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Edited actionpack/lib/action_view/helpers/form_helper.rb via GitHub
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user