Skip to content

Commit 07839b2

Browse files
authored
Merge pull request rails#54791 from smhauck/main
[ci skip] Fixed typo in form_helpers.md
2 parents e9d7ca5 + 09f1d5b commit 07839b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/form_helpers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1338,4 +1338,4 @@ Generally, these helpers have the same name as their form builder counterparts p
13381338
Using `form_tag` and `form_for`
13391339
-------------------------------
13401340

1341-
Before `form_with` was introduced in Rails 5.1 its functionality was split between [`form_tag`](https://api.rubyonrails.org/classes/ActionView/Helpers/FormTagHelper.html#method-i-form_tag) and [`form_for`](https://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html#method-i-form_for). Both are now discouraged in favor of `form_with`, but you can still find being used in some codebases.
1341+
Before `form_with` was introduced in Rails 5.1 its functionality was split between [`form_tag`](https://api.rubyonrails.org/classes/ActionView/Helpers/FormTagHelper.html#method-i-form_tag) and [`form_for`](https://api.rubyonrails.org/classes/ActionView/Helpers/FormHelper.html#method-i-form_for). Both are now discouraged in favor of `form_with`, but you can still find them being used in some codebases.

0 commit comments

Comments
 (0)