Hello,
I can’t use constants of Yii boostrap inside my script.
Here is the error :
include(BootActiveForm.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory
And here is the script :
'preload'=>array(
'log',
'bootstrap',
),
$login_form = $this->beginWidget('bootstrap.widgets.BootActiveForm',array(
'action'=>Yii::app()->createUrl('site/login'),
'id'=>'login-form',
'type'=>BootActiveForm::TYPE_HORIZONTAL, // THIS DOESN'T WORK !
)
)
Can someone help me ?
Thanks,
Maxime.