diff options
author | Janko Marohnić <janko.marohnic@gmail.com> | 2012-08-21 14:47:52 +0200 |
---|---|---|
committer | Janko Marohnić <janko.marohnic@gmail.com> | 2012-08-21 16:58:34 +0200 |
commit | 2033db171ad88d0cbee719cd603bf76aa3dda5a9 (patch) | |
tree | 832969d0b270fb8bcc3711785a26104113e62095 /actionpack/lib/action_view/helpers/form_helper.rb | |
parent | 937a8259219070251e0b46a9a456492e3bc4dc74 (diff) | |
download | rails-2033db171ad88d0cbee719cd603bf76aa3dda5a9.tar.gz rails-2033db171ad88d0cbee719cd603bf76aa3dda5a9.tar.bz2 rails-2033db171ad88d0cbee719cd603bf76aa3dda5a9.zip |
Fix 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> |