Skip to content

Commit 38b3a9e

Browse files
committed
minor #7850 Update forms.rst (rtempleman)
This PR was submitted for the 3.2 branch but it was merged into the 2.7 branch instead (closes #7850). Discussion ---------- Update forms.rst Update document to follow documentation standard to avoid the use of Serial (Oxford) Commas. Remove comma used inappropriately with conjunction word ", and" in connecting two words. Commits ------- a09be26 Update forms.rst
2 parents b54f2b6 + a09be26 commit 38b3a9e

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
@@ -61,7 +61,7 @@ to do with Symfony or any other library. It's quite simply a normal PHP object
6161
that directly solves a problem inside *your* application (i.e. the need to
6262
represent a task in your application). Of course, by the end of this article,
6363
you'll be able to submit data to a ``Task`` instance (via an HTML form), validate
64-
its data, and persist it to the database.
64+
its data and persist it to the database.
6565

6666
.. index::
6767
single: Forms; Create a form in a controller
@@ -111,7 +111,7 @@ from inside a controller::
111111

112112
Creating a form requires relatively little code because Symfony form objects
113113
are built with a "form builder". The form builder's purpose is to allow you
114-
to write simple form "recipes", and have it do all the heavy-lifting of actually
114+
to write simple form "recipes" and have it do all the heavy-lifting of actually
115115
building the form.
116116

117117
In this example, you've added two fields to your form - ``task`` and ``dueDate`` -
@@ -265,7 +265,7 @@ your controller::
265265
to the ``submit()`` method - a strategy which is deprecated and will be
266266
removed in Symfony 3.0. For details on that method, see :ref:`form-submit-request`.
267267

268-
This controller follows a common pattern for handling forms, and has three
268+
This controller follows a common pattern for handling forms and has three
269269
possible paths:
270270

271271
#. When initially loading the page in a browser, the form is created and

0 commit comments

Comments
 (0)