Breadcrumb->render([
[
'title' => 'Home',
'icon' => 'fa fa-home',
'url' => '/',
],
[
'title' => __('Documenti'),
'icon' => 'fa fa-book',
],
[
'title' => __('Lista Pratiche di attingimento'),
'icon' => 'fa fa-list',
'url' => ['controller' => 'WaterDrawingPaperworks', 'action' => 'index'],
],
[
'title' => __('Carica ricevuta della richiesta antimafia alla Pratica di attingimento'),
'icon' => 'fa fa-plus',
],
]);
?>
Form->create($waterDrawingPaperwork, ['role' => 'form', 'type' => 'file']); ?>
element('attachments', [
'filepicker' => true,
'viewer' => false,
'currentFilesRemovable' => false,
'tags' => $tag,
'required' => true,
'upload_single' => true,
'accept_only' => ['.pdf']
]);
echo $this->Form->hidden('authority_identification_code_civil_engineering_office', ['label' => __('Codice identificativo Concessione Ufficio Genio civile (es. AA0000)'), 'type' => 'text', 'pattern' => '[a-zA-Z]{2}[0-9]{4}', 'required' => true]);
?>
Form->end(); ?>