New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
form_helper documentation using article instead of post [ci skip] #51376
form_helper documentation using article instead of post [ci skip] #51376
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree "article" will read better than "post", but we should go ahead and change it in all the examples of this form helper file at least, there's more instances. Can you take a look at those?
fea9275
to
55bd9f1
Compare
The only references to post in the form_helper file are now related to methods. Everything else is now article. Otherwise
Let me know if I can be of any assistance! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! I found just a handful more instances that could use some updating, other than that I'll ask you to squash your commits down to 1, and we're good to merge. Thanks!
55bd9f1
to
7e40c80
Compare
Documentation previously uses post which is confusing as the methods/verb is also post. Before <form action="/posts" method="post"> After <form action="/articles" method="post"> Method Worked through a new Rails app with scaffold of article and checking the output of the HTML. Other HTML changes make it more authentic: /> => at the end of the input
7e40c80
to
4a44b51
Compare
Drat! I clearly didn't search for capital p Post! Thanks for catching that Carlos. Fixed! Work squashed. |
Awesome, thanks! |
Motivation / Background
This Pull Request has been created because it will make the form_with documentation clearer.
Detail
Documentation previously uses post which is confusing as the methods/verb is also post.
Before
<form action="/posts" method="post">
After
<form action="/articles" method="post">
Method
Worked through a new Rails app with scaffold of article and checking the output of the HTML. Other HTML changes make it more authentic:
Checklist
Before submitting the PR make sure the following are checked:
[Fix #issue-number]