diff options
author | Yves Senn <yves.senn@gmail.com> | 2015-02-26 09:06:54 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2015-02-26 09:06:54 +0100 |
commit | 1d031ee27dec0ea9ff27ca37d2ded96d4cc8b80f (patch) | |
tree | c290a38dba98d3c781c06f6eec9c7dc8ad9fcc7e | |
parent | 89e051ace345b6e5d652b039e55ce00eafe1ed6b (diff) | |
parent | dda17ccc627a960793d9e86e7fd860a48b1827e7 (diff) | |
download | rails-1d031ee27dec0ea9ff27ca37d2ded96d4cc8b80f.tar.gz rails-1d031ee27dec0ea9ff27ca37d2ded96d4cc8b80f.tar.bz2 rails-1d031ee27dec0ea9ff27ca37d2ded96d4cc8b80f.zip |
Merge pull request #19088 from teeceepee/patch-1
Fix typos in ActionView::Helpers::FormBuilder comment [ci skip]
-rw-r--r-- | actionview/lib/action_view/helpers/form_helper.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/actionview/lib/action_view/helpers/form_helper.rb b/actionview/lib/action_view/helpers/form_helper.rb index b76b35bf3c..b0793d0b91 100644 --- a/actionview/lib/action_view/helpers/form_helper.rb +++ b/actionview/lib/action_view/helpers/form_helper.rb @@ -1246,7 +1246,7 @@ module ActionView # Admin: <%= person_form.check_box :admin %> # <% end %> # - # In the above block, the a +FormBuilder+ object is yielded as the + # In the above block, a +FormBuilder+ object is yielded as the # +person_form+ variable. This allows you to generate the +text_field+ # and +check_box+ fields by specifying their eponymous methods, which # modify the underlying template and associates the +@person+ model object @@ -1267,6 +1267,7 @@ module ActionView # ) # ) # end + # end # # The above code creates a new method +div_radio_button+ which wraps a div # around the new radio button. Note that when options are passed in, you |