From 079b1fb6feba73cba84aa6575f1f76e1da39e86f Mon Sep 17 00:00:00 2001 From: gnito-org <70450336+gnito-org@users.noreply.github.com> Date: Tue, 14 Dec 2021 14:39:44 -0400 Subject: [PATCH] Correct spelling & grammar in 4.4 form/ --- form/dynamic_form_modification.rst | 6 +++--- form/form_themes.rst | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/form/dynamic_form_modification.rst b/form/dynamic_form_modification.rst index 2f885850a0e..414a7023768 100644 --- a/form/dynamic_form_modification.rst +++ b/form/dynamic_form_modification.rst @@ -4,7 +4,7 @@ How to Dynamically Modify Forms Using Form Events ================================================= -Often times, a form can't be created statically. In this article, you'll learn +Oftentimes, a form can't be created statically. In this article, you'll learn how to customize your form based on three common use-cases: 1) :ref:`Customizing your Form Based on the Underlying Data ` @@ -506,8 +506,8 @@ exactly the same things on a given form. .. tip:: - The ``FormEvents::POST_SUBMIT`` event does not allow to modify the form - the listener is bound to, but it allows to modify its parent. + The ``FormEvents::POST_SUBMIT`` event does not allow modifications to the form + the listener is bound to, but it allows modifications to its parent. One piece that is still missing is the client-side updating of your form after the sport is selected. This should be handled by making an AJAX call back to diff --git a/form/form_themes.rst b/form/form_themes.rst index 92f08b5de4b..69a24a2adb0 100644 --- a/form/form_themes.rst +++ b/form/form_themes.rst @@ -143,7 +143,7 @@ You can also apply a form theme to a specific child of your form: {% form_theme form.a_child_form 'form/my_custom_theme.html.twig' %} This is useful when you want to have a custom theme for a nested form that's -different than the one of your main form. Specify both your themes: +different from the one of your main form. Specify both your themes: .. code-block:: twig