diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-08-21 08:04:19 -0700 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-08-21 08:04:19 -0700 |
commit | 7e68e8bcc7dc314a8708209fcd457c1ef4516ac2 (patch) | |
tree | fa95dd68ccf4bf6e033d314f5af8c6cb887304fb /actionpack/lib/action_view/helpers/form_helper.rb | |
parent | ace06925284786cf884a93d36d0739eb49fac789 (diff) | |
parent | 2033db171ad88d0cbee719cd603bf76aa3dda5a9 (diff) | |
download | rails-7e68e8bcc7dc314a8708209fcd457c1ef4516ac2.tar.gz rails-7e68e8bcc7dc314a8708209fcd457c1ef4516ac2.tar.bz2 rails-7e68e8bcc7dc314a8708209fcd457c1ef4516ac2.zip |
Merge pull request #7406 from janko-m/documentation_fixes
Fixed some documentation mistakes
Diffstat (limited to 'actionpack/lib/action_view/helpers/form_helper.rb')
-rw-r--r-- | actionpack/lib/action_view/helpers/form_helper.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/lib/action_view/helpers/form_helper.rb b/actionpack/lib/action_view/helpers/form_helper.rb index 5dc5bb8a98..b79577bcd3 100644 --- a/actionpack/lib/action_view/helpers/form_helper.rb +++ b/actionpack/lib/action_view/helpers/form_helper.rb @@ -720,15 +720,15 @@ module ActionView # label(:post, :title) # # => <label for="post_title">Title</label> # - # You can localize your labels based on model and attribute names. - # For example you can define the following in your locale (e.g. en.yml) + # You can localize your labels based on model and attribute names. + # For example you can define the following in your locale (e.g. en.yml) # # helpers: # label: # post: # body: "Write your entire text here" # - # Which then will result in + # Which then will result in # # label(:post, :body) # # => <label for="post_body">Write your entire text here</label> |