From fe53a3f5c4903a50751f0b91ae5fd429c7e5dab8 Mon Sep 17 00:00:00 2001 From: WouterJ Date: Sat, 16 Aug 2014 10:33:06 +0200 Subject: [PATCH] Added link to JSFiddle example --- cookbook/form/form_collections.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cookbook/form/form_collections.rst b/cookbook/form/form_collections.rst index 908523244a2..6871be7cdab 100644 --- a/cookbook/form/form_collections.rst +++ b/cookbook/form/form_collections.rst @@ -413,6 +413,10 @@ Now, each time a user clicks the ``Add a tag`` link, a new sub form will appear on the page. When the form is submitted, any new tag forms will be converted into new ``Tag`` objects and added to the ``tags`` property of the ``Task`` object. +.. seealso:: + + You can find a working example in this `JSFiddle`_. + To make handling these new tags easier, add an "adder" and a "remover" method for the tags in the ``Task`` class:: @@ -726,3 +730,4 @@ the relationship between the removed ``Tag`` and ``Task`` object. each Tag object itself. .. _`Owning Side and Inverse Side`: http://docs.doctrine-project.org/en/latest/reference/unitofwork-associations.html +.. _`JSFiddle`: http://jsfiddle.net/847Kf/4/