Skip to content

Commit 9e7c22a

Browse files
committed
minor symfony#16272 Correct spelling & grammar in 4.4 form/ (gnito-org)
This PR was merged into the 4.4 branch. Discussion ---------- Correct spelling & grammar in 4.4 form/ <!-- 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 ------- 079b1fb Correct spelling & grammar in 4.4 form/
2 parents 501841c + 079b1fb commit 9e7c22a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

form/dynamic_form_modification.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
How to Dynamically Modify Forms Using Form Events
55
=================================================
66

7-
Often times, a form can't be created statically. In this article, you'll learn
7+
Oftentimes, a form can't be created statically. In this article, you'll learn
88
how to customize your form based on three common use-cases:
99

1010
1) :ref:`Customizing your Form Based on the Underlying Data <form-events-underlying-data>`
@@ -506,8 +506,8 @@ exactly the same things on a given form.
506506

507507
.. tip::
508508

509-
The ``FormEvents::POST_SUBMIT`` event does not allow to modify the form
510-
the listener is bound to, but it allows to modify its parent.
509+
The ``FormEvents::POST_SUBMIT`` event does not allow modifications to the form
510+
the listener is bound to, but it allows modifications to its parent.
511511

512512
One piece that is still missing is the client-side updating of your form after
513513
the sport is selected. This should be handled by making an AJAX call back to

form/form_themes.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ You can also apply a form theme to a specific child of your form:
143143
{% form_theme form.a_child_form 'form/my_custom_theme.html.twig' %}
144144
145145
This is useful when you want to have a custom theme for a nested form that's
146-
different than the one of your main form. Specify both your themes:
146+
different from the one of your main form. Specify both your themes:
147147

148148
.. code-block:: twig
149149

0 commit comments

Comments
 (0)