public function configure() { parent::configure(); $this->widgetSchema['subject'] = new sfWidgetFormInputText(); $this->widgetSchema['body']->setAttribute('rows', 15); $this->widgetSchema['description']->setAttribute('rows', 2); // Unset automatic fields like 'created_at', 'updated_at', 'created_by', 'updated_by' $this->unsetAutoFields(); unset($this['vars']); }
public function getJavascripts() { return array_merge(parent::getJavaScripts(), array('admin.mailTemplate')); }