but, this code doesn't work:
class UsuariosCadastrarForm extends SGCI_Form {
function __construct($options = null) {
parent::__construct($options);
$this->addPrefixPath('CBr_Form', 'CBR/Form', 'decorator');
$this->setMethod('post')
->setAttrib('id', 'login');
$div = new Zend_Form_Element('div', array('disableLoadDefaultDecorators' => true));
$div->addDecorator('Div', array('id' => 'dv'));
$this->addElements( array (
$div,
));
}
}
The error message is:
Plugin by name Div was not found in the registry.