Merge pull request #19088 from teeceepee/patch-1
Fix typos in ActionView::Helpers::FormBuilder comment [ci skip]
This commit is contained in:
commit
1d031ee27d
@ -1246,7 +1246,7 @@ def default_form_builder_class
|
||||
# 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 @@ def default_form_builder_class
|
||||
# )
|
||||
# )
|
||||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user