sonata-project/SonataDoctrineORMAdminBundle — pull request #228 by tiagojsag (2013-06-13 16:18:48+00:00)
Title: Added limit to the number of elements added with sonata_type_collection

A 'limit' option can be passed to 'sonata_type_collection' form fields to limit the number of fields that can be added. This works by removing the "add" button after that amount of elements have been added. No actual enforcing is done when persisting entities.