From controller:
public function viewAction($id,$report_id){
$report = SaeReport::findFirst('id = '.$report_id);
$form = new SAEReportForm($report,array('id'=>$id));
$this->view->form = $form;
}
in the view.volt, when I call form.render() is there a way at runtime to specify that I want the form element to be disabled, IE not changeable? I've tried
{{form.render('name',array('disabled'=>true))}}
but that doesn't work...