10000 minor #16243 Correct spelling & grammar in 4.4 forms.rst (gnito-org) · symfony/symfony-docs@972567e · GitHub
[go: up one dir, main page]

Skip to content

Commit 972567e

Browse files
committed
minor #16243 Correct spelling & grammar in 4.4 forms.rst (gnito-org)
This PR was merged into the 4.4 branch. Discussion ---------- Correct spelling & grammar in 4.4 forms.rst <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `5.x` for features of unreleased versions). --> Commits ------- f2c0186 Correct spelling & grammar in 4.4 forms.rst
2 parents 7f544d3 + f2c0186 commit 972567e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

forms.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ added a submit button with a custom label for submitting the form to the server.
158158
Creating Form Classes
159159
~~~~~~~~~~~~~~~~~~~~~
160160

161-
Symfony recommends to put as little logic as possible in controllers. That's why
161+
Symfony recommends putting as little logic as possible in controllers. That's why
162162
it's better to move complex forms to dedicated classes instead of defining them
163163
in controller actions. Besides, forms defined in classes can be reused in
164164
multiple actions and services.
@@ -385,7 +385,7 @@ written into the form object::
385385
{
386386
public function new(Request $request): Response
387387
{
388-
// just setup a fresh $task object (remove the example data)
388+
// just set up a fresh $task object (remove the example data)
389389
$task = new Task();
390390

391391
$form = $this->createForm(TaskType::class, $task);
@@ -665,7 +665,7 @@ The ``required`` Option
665665

666666
The most common option is the ``required`` option, which can be applied to any
667667
field. By default, this option is set to ``true``, meaning that HTML5-ready
668-
browsers will require to fill in all fields before submitting the form.
668+
browsers will require you to fill in all fields before submitting the form.
669669

670670
If you don't want this behavior, either
671671
:ref:`disable client-side validation <forms-html5-validation-disable>` for the

0 commit comments

Comments
 (0)
0