File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ added a submit button with a custom label for submitting the form to the server.
158158Creating 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
162162it's better to move complex forms to dedicated classes instead of defining them
163163in controller actions. Besides, forms defined in classes can be reused in
164164multiple 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
666666The most common option is the ``required `` option, which can be applied to any
667667field. 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
670670If you don't want this behavior, either
671671:ref: `disable client-side validation <forms-html5-validation-disable >` for the
You can’t perform that action at this time.
0 commit comments