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' => __('Dettagli Pratica di attingimento'), 'icon' => 'fa fa-info', 'url' => ['controller' => 'WaterDrawingPaperworks', 'action' => 'view_scan', $water_drawing_paperwork_id] ], [ 'title' => __('Nuova lettura dello strumento'), 'icon' => 'fa fa-plus', ] ]); ?>

Form->create($waterDrawingMeasurement, ['role' => 'form', 'type' => 'file']); ?>
Form->control('water_drawing_meter_id', ['type' => 'hidden', 'value' => $water_drawing_meter_id]); ?>
Form->control('volume', ['label' => __('Lettura volume (m^3)'), 'type' => 'number', 'required' => true, 'min' => 0]); ?>
Form->control('date', ['label' => __('Data del rilievo'), 'style' => 'margin-left: 5px;', 'type' => 'date', 'max' => $today->format('Y-m-d')]); ?>
Form->end(); ?>