Breadcrumb->render([ [ 'title' => 'Home', 'icon' => 'fa fa-home', 'url' => '/', ], [ 'title' => __('Documenti'), 'icon' => 'fa fa-book', ], [ 'title' => __('Lista Richieste di attingimento'), 'icon' => 'fa fa-list', 'url' => ['controller' => 'WaterDrawingPaperworks', 'action' => 'citizen_submission_index'], ], [ 'title' => __('Lista documenti della richiesta di attingimento'), 'icon' => 'fa fa-list', 'url' => ['controller' => 'WaterDrawingPaperworks', 'action' => 'citizen_documentation_index', $waterDrawingPaperwork->id], ], [ 'title' => __('Carica allegato'), 'icon' => 'fa fa-plus', ], ]); ?>

Form->create($waterDrawingPaperwork, ['role' => 'form', 'type' => 'file']); ?>
link != '') { echo $this->Html->link($tag->description, ['controller' => 'Attachments', 'action' => 'view', $tag->link], ['target' => '_blank']); echo $this->Html->link(__('Scarica'), ['controller' => 'Attachments', 'action' => 'view', $tag->link], ['style="margin-left:1rem;"', 'class' => 'btn btn-default btn-sm', 'target' => '_blank']); } echo $this->element('attachments', [ 'coId' => $waterDrawingPaperwork->controllable_object_id, 'filepicker' => true, 'viewer' => false, 'currentFilesRemovable' => false, 'tags' => [ $tag->code => $tag->description, ], 'required' => true, 'upload_single' => true, 'accept_only' => ['.p7m'] ]); ?>
Form->end(); ?>