activity: hide delete button from asyncupload and add delete buttons from chill collection

This commit is contained in:
nobohan
2022-03-18 15:25:45 +01:00
parent 73dd97f7d3
commit 215b859725
4 changed files with 9 additions and 0 deletions

View File

@@ -305,6 +305,7 @@ class ActivityType extends AbstractType
'label' => $activityType->getLabel('documents'),
'required' => $activityType->isRequired('documents'),
'allow_add' => true,
'allow_delete' => true,
'button_add_label' => 'activity.Insert a document',
'button_remove_label' => 'activity.Remove a document',
'empty_collection_explain' => 'No documents',