Skip to content

Commit d2b7cee

Browse files
webda2ljaviereguiluz
authored andcommitted
Add @a2lix/symfony-collection solution
1 parent 63b36c7 commit d2b7cee

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

form/form_collections.rst

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,7 @@ Template Modifications
619619

620620
The ``allow_delete`` option means that if an item of a collection
621621
isn't sent on submission, the related data is removed from the collection
622-
on the server. In order for this to work in an HTML form, you must remove
622+
on the server. In order for this to work in an HTML form, you must remove
623623
the DOM element for the collection item to be removed, before submitting
624624
the form.
625625

@@ -747,13 +747,17 @@ the relationship between the removed ``Tag`` and ``Task`` object.
747747
updated (whether you're adding new tags or removing existing tags) on
748748
each Tag object itself.
749749

750-
.. sidebar:: Form collection jQuery plugin
750+
.. sidebar:: Form collection external solutions
751751

752-
The jQuery plugin `symfony-collection`_ helps with ``collection`` form elements,
753-
by providing the JavaScript functionality needed to add, edit and delete
754-
elements of the collection. More advanced functionality like moving or duplicating
755-
an element in the collection and customizing the buttons is also possible.
752+
The package `@a2lix/symfony-collection`_ helps with ``collection`` form elements,
753+
by providing to modern browsers the Javascript functionality needed to add, edit and delete
754+
elements of the collection.
755+
756+
If you want to use jQuery, there is a jQuery extension, `symfony-collection`_ with
757+
more advanced functionality like moving or duplicating an element in the collection
758+
and customizing the buttons is also possible.
756759

757760
.. _`Owning Side and Inverse Side`: http://docs.doctrine-project.org/en/latest/reference/unitofwork-associations.html
758761
.. _`JSFiddle`: http://jsfiddle.net/847Kf/4/
762+
.. _`@a2lix/symfony-collection`: https://github.com/a2lix/symfony-collection
759763
.. _`symfony-collection`: https://github.com/ninsuo/symfony-collection

0 commit comments

Comments
 (0)