Skip to content

Commit 9261971

Browse files
committed
Apply review
1 parent 349fa5a commit 9261971

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

form/form_collections.rst

Lines changed: 9 additions & 9 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

@@ -749,15 +749,15 @@ the relationship between the removed ``Tag`` and ``Task`` object.
749749

750750
.. 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.
756-
757-
The package `@a2lix/symfony-collection`_ helps as well with ``collection`` form elements,
758-
to provide to modern browsers a simple version that do not require jQuery anymore.
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.
759759

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

0 commit comments

Comments
 (0)