I am using the Sonata Admin bundle, but there is a problem. I'm using this code
$formMapper
->add('shares', 'sonata_type_collection',
array('by_reference' => false, 'label' => 'Share percent'),
array(
'edit' => 'inline',
'inline' => 'table'
)
)
Here, I reference an entity so I can edit it inside of another entity. The problem is, I don't need the inline editing. Is there a way to just display a button "Edit shares" and not show the whole editing form?