Breadcrumb->render([ [ 'title' => 'Home', 'icon' => 'fa fa-home', 'url' => '/', ], [ 'title' => __('Configurazioni'), 'icon' => 'fa fa-wrench', ], [ 'title' => __('Dettagli pratica d\'attingimento'), 'icon' => 'fa fa-info', 'url' => ['controller' => 'WaterDrawingPaperworks', 'action' => 'view', $water_drawing_paperwork_id], ], [ 'title' => __('Aggiungi Canone annuale'), 'icon' => 'fa fa-plus', ], ]); ?>

Form->create($waterDrawingFee, ['role' => 'form']); ?>
Form->control('amount', ['label' => __('Canone'), 'required' => true, 'min' => 0]); ?>
Form->control('year', ['label' => __('Anno'), 'type' => 'number', 'min' => 1900, 'max' => ((new \DateTime())->format("Y") + 1)]); ?> Form->hidden('water_drawing_paperwork_id', ['value' => $water_drawing_paperwork_id]); ?>
Form->end(); ?>