Skip to content

Commit a645581

Browse files
authored
Merge pull request rails#55312 from p8/actionview/fields-for-documentation
Make link to `form_with` explicit [ci skip]
2 parents ce46560 + 5c87b05 commit a645581

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

actionview/lib/action_view/helpers/form_helper.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1633,7 +1633,8 @@ def default_form_builder_class
16331633
#
16341634
# A +FormBuilder+ object is associated with a particular model object and
16351635
# allows you to generate fields associated with the model object. The
1636-
# +FormBuilder+ object is yielded when using #form_with or #fields_for.
1636+
# +FormBuilder+ object is yielded when using
1637+
# {form_with}[rdof-ref:ActionView::Helpers::FormHelper#form_with] or #fields_for.
16371638
# For example:
16381639
#
16391640
# <%= form_with model: @person do |person_form| %>

0 commit comments

Comments
 (0)