Skip to content

Commit 734c8b1

Browse files
committed
minor #14760 Shortening the text and adding link to jQuery (ThomasLandauer)
This PR was merged into the 4.4 branch. Discussion ---------- Shortening the text and adding link to jQuery As a separate PR, as recommended by #13450 (comment) Commits ------- 853dfb0 Shortening the text and adding link to jQuery
2 parents 52a40b3 + 853dfb0 commit 734c8b1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

form/form_collections.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -280,9 +280,8 @@ On the rendered page, the result will look something like this:
280280
the ``data-prototype`` attribute is automatically added to the containing ``div``,
281281
and you need to adjust the following JavaScript accordingly.
282282

283-
The goal of this section will be to use JavaScript to read this attribute
284-
and dynamically add new tag forms when the user clicks the "Add a tag" button.
285-
This example uses jQuery and assumes you have it included somewhere on your page.
283+
Now we need some JavaScript to read this attribute and dynamically add new tag forms
284+
when the user clicks an "Add a tag" link. This example uses `jQuery`_.
286285

287286
Add a ``script`` tag somewhere on your page so you can start writing some
288287
JavaScript. In this script, bind to the "click" event of the "Add a tag"
@@ -684,6 +683,7 @@ the relationship between the removed ``Tag`` and ``Task`` object.
684683
the `symfony-collection`_ package based on jQuery for the rest of browsers.
685684

686685
.. _`Owning Side and Inverse Side`: https://www.doctrine-project.org/projects/doctrine-orm/en/current/reference/unitofwork-associations.html
686+
.. _`jQuery`: http://jquery.com/
687687
.. _`JSFiddle`: http://jsfiddle.net/847Kf/4/
688688
.. _`@a2lix/symfony-collection`: https://github.com/a2lix/symfony-collection
689689
.. _`symfony-collection`: https://github.com/ninsuo/symfony-collection

0 commit comments

Comments
 (0)