correction

there is an added ';' in this line
->add('dueDate', null, array('widget' => 'single_text'))
in the end