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.
158
158
Creating Form Classes
159
159
~~~~~~~~~~~~~~~~~~~~~
160
160
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
162
162
it's better to move complex forms to dedicated classes instead of defining them
163
163
in controller actions. Besides, forms defined in classes can be reused in
164
164
multiple actions and services.
@@ -385,7 +385,7 @@ written into the form object::
385
385
{
386
386
public function new(Request $request): Response
387
387
{
388
- // just setup a fresh $task object (remove the example data)
388
+ // just set up a fresh $task object (remove the example data)
389
389
$task = new Task();
390
390
391
391
$form = $this->createForm(TaskType::class, $task);
@@ -665,7 +665,7 @@ The ``required`` Option
665
665
666
666
The most common option is the ``required `` option, which can be applied to any
667
667
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.
669
669
670
670
If you don't want this behavior, either
671
671
:ref: `disable client-side validation <forms-html5-validation-disable >` for the
You can’t perform that action at this time.
0 commit comments