Hi.
Is it possible to add a CHtml::submitButton as an item to a menu array?
For example:
Instead of just having this:
$this->menu=array(
array('label'=>'List Company', 'url'=>array('index')),
array('label'=>'Create Company', 'url'=>array('create')),
);
You have something like this:
$this->menu=array(
array('label'=>'List Company', 'url'=>array('index')),
array('label'=>'Create Company', 'url'=>array('create')),
array(CHtml::submitButton('Login')),
);
The menu should thus have 3 buttons: List Company, Create Company and Login (submit button).
Thanx