element('Documents/dropzone', ['foreignKey' => $cause->id, 'model' => $model]) ?>
| name); ?> | alt); ?> | Form->postLink(__('Delete'), ['controller' => 'Documents', 'action' => 'delete', $document->id, $cause->uuid], ['confirm' => __('Are you sure you want to delete # {0}?', $document->name), 'class' => 'btn btn-danger btn-xs']); ?> Html->link(__('View'), ['controller' => 'Documents', 'action' => 'viewFile', $document->file_path], ['target' => '_blank', 'class' => 'btn btn-primary btn-xs']); ?> |