I'm trying to generate an HTML select element for filtering purposes on my CakePHP 2.2 website.
Here's the code I run in my View:
echo $this->Form->input('proveedor_id', array(
'type' => 'select',
'options' => $proveedores,
'div' => array('class' => 'asd')
));
However the generated select element does not have the class I want asd.
Any suggestions?