Skip to content

Commit f2c0186

Browse files
committed
Correct spelling & grammar in 4.4 forms.rst
1 parent 62c0653 commit f2c0186

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)