Re: [symfony-users] render widget as label

2010-06-06 Thread Javier Garcia
On 06/04/2010 10:00 PM, fRAnKEnSTEin wrote: Hi there, Is there any way of rendering a form widget as a label? for example if i have a form called ""fooForm" defined as: ... ... public function configure() { ... ... $this->setWidgets(array( 'price' =>

[symfony-users] render widget as label

2010-06-04 Thread fRAnKEnSTEin
Hi there, Is there any way of rendering a form widget as a label? for example if i have a form called ""fooForm" defined as: ... ... public function configure() { ... ... $this->setWidgets(array( 'price' => new sfWidgetFormInputText(), )); ...