<?php

echo $this->Form->create($budget);
foreach($schools as $school) {
    //debug($school);die;
    //echo $this->Form->label('budget.count_'.$school['id'],$school['dst_schluessel'.' '.$school['dst_name']]);
    echo $this->Form->control('count_'.$school['id'], ['type' => 'decimal','label' => $school['dst_schluessel'] .' '.$school['dst_name'] ]);
}

echo $this->Form->button(__('Submit'));
echo $this->Form->end();


